I have taken delivery of a spanking new eBlock to do MIDI on but the test files do not work again on FC5.4 and I (once again!) removed FC4...
snip>>>>>
Midi_tx_JD.c
Starting preprocessor: C:\PROGRA~2\Flowcode\v5\Tools\boostc\pp.exe Midi_tx_JD.c -i C:\PROGRA~2\Flowcode\v5\Tools\boostc\include -d _PIC18F4455 -la -c2 -o Midi_tx_JD.pp -v -d _BOOSTC -d _PIC18 -d _CHAR_INDEX
Midi_tx_JD.c(191): Unable to open include file: MIDI.h
Midi_tx_JD.c(198): Unable to open include file: MIDI.c
2 errors detected
Error: preprocessing error
failure
Return code = 1
Flowcode was unable to compile the flowchart's C code due to the following errors:
If your flowchart contains C code, please review this carefully. If your flowchart contains no C-code or you have thoroughly reviewed the code, contact Technical Support.
FINISHED
snip>>>>>
Any ideas of what's wrong and why it keeps happening to me? :-{
Best regards,
James Dexter :-{
eBlocks MIDI Board :-{
Moderator: Benj
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: eBlocks MIDI Board :-{
Hi James,
Here are versions of the MIDI test files which are written in v5.4 using the MIDI component.
The files Master and Slave show how to transmit and receive MIDI messages.
The files Master_HW and Slave_HW do exactly the same thing but I have switched the standard software UART for a more reliable hardware UART by slightly modifying the code in the defines macro for the MIDI component.
Let me know how you get on.
Here are versions of the MIDI test files which are written in v5.4 using the MIDI component.
The files Master and Slave show how to transmit and receive MIDI messages.
The files Master_HW and Slave_HW do exactly the same thing but I have switched the standard software UART for a more reliable hardware UART by slightly modifying the code in the defines macro for the MIDI component.
Let me know how you get on.
- Attachments
-
- EB021 Factory test routine.zip
- (9.72 KiB) Downloaded 252 times
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: eBlocks MIDI Board :-{
Hi Ben,
Still not working - it can't find midi.c file...
>>>>Starting preprocessor: C:\PROGRA~2\Flowcode\v5\Tools\boostc\pp.exe Master_HW.c -i C:\PROGRA~2\Flowcode\v5\Tools\boostc\include -d _PIC18F4455 -la -c2 -o Master_HW.pp -v -d _BOOSTC -d _PIC18 -d _CHAR_INDEX
Master_HW.c(837): Unable to open include file: MIDI.C
1 errors detected
Error: preprocessing error
failure
Return code = 1
Flowcode was unable to compile the flowchart's C code due to the following errors:
>>>>
Still not working - it can't find midi.c file...
>>>>Starting preprocessor: C:\PROGRA~2\Flowcode\v5\Tools\boostc\pp.exe Master_HW.c -i C:\PROGRA~2\Flowcode\v5\Tools\boostc\include -d _PIC18F4455 -la -c2 -o Master_HW.pp -v -d _BOOSTC -d _PIC18 -d _CHAR_INDEX
Master_HW.c(837): Unable to open include file: MIDI.C
1 errors detected
Error: preprocessing error
failure
Return code = 1
Flowcode was unable to compile the flowchart's C code due to the following errors:
>>>>
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: eBlocks MIDI Board :-{
Sorry about that there must still be a reference in the files to the include file which is present on my machine which explains why it was working for me.
If you go into Build -> Project options and untick the "Use supplementary code" then the reference to the external file should be removed and allow you to compile.
If you go into Build -> Project options and untick the "Use supplementary code" then the reference to the external file should be removed and allow you to compile.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: eBlocks MIDI Board :-{
Hi Ben,
Thank you very much for that. It is showing an Error on the LCD but it does compile now and transfer correctly so I can keep going from here....
Have a good one and give yourself a pat on the back...
Best regards,
James :-}
Thank you very much for that. It is showing an Error on the LCD but it does compile now and transfer correctly so I can keep going from here....
Have a good one and give yourself a pat on the back...
Best regards,
James :-}