Hi!
Seems I have to step in every trap that can happen…murphy rules…
Ok…I noticed that my board is wrong. The mux-lines for AIN-multiplexer are interchangend.
A, B, C ist normally connected to pins RC0, RC1, RC3
On my board RC2, RC1, RC0. Don’t know how this could happend. Maybe are writing error. ![]()
No problem I thought and changed the ain EQU in the mios-sources, not more.
(mios 1.9)
BUT: the resulting hex-file differs from the original one (mios_update1.9/pic18f452/midi/mios_v1_9_pic18f452.hex) in five lines. (not only in two bytes as I expected).
And after I loaded my software, mios stops working and sends the initial request sysex-string every 2s.
I changed nothing in the C-wrapper file. Except that I added my own software files. Nor wrote I explicitely into RAM or flash. I only use global and local C-Variables and arrays. No dynamic memory allocation or write-operations via pointer.
During compiling of MIOS (with MPLAP v7.31) I get the warning
“operand of HIGH high operator was larger than H’FFFF’”.
(line 67 of macros.h)
Any ideas what happed?
Any ideas where to start debugging?