[BUG - Solution] MIAC V1 software to MIAC V2, CAN Bus bug
Posted: Wed May 13, 2015 12:44 pm
Original title: What is difference between MIACv1 and MIACv2?
When i make software that uses CAN bus, and i select "MIAC" as target, my code CAN bus works fine etc. But when i got my code too big for "V1" and i try to use "MIAC V2" as target with same code, seems like the clock speed is slower on V2 and the CAN bus is not working (The D output goes high without any reason?).
Do i have to change the pins of CAN bus component or something?
I checked inside my Miac and it has 18F4550 onboard. PCB says it is MIAC V2 CTRL V0.1
EDIT: Found some problem:
The V1 has defaulted the Chip Select pin to Port D7 (and this option is not even shown), but on V2 target you cannot select the D7 as pin. How i could fix this issue? Im using the newest 6.1.2 Flowcode.
When i make software that uses CAN bus, and i select "MIAC" as target, my code CAN bus works fine etc. But when i got my code too big for "V1" and i try to use "MIAC V2" as target with same code, seems like the clock speed is slower on V2 and the CAN bus is not working (The D output goes high without any reason?).
Do i have to change the pins of CAN bus component or something?
I checked inside my Miac and it has 18F4550 onboard. PCB says it is MIAC V2 CTRL V0.1
EDIT: Found some problem:
The V1 has defaulted the Chip Select pin to Port D7 (and this option is not even shown), but on V2 target you cannot select the D7 as pin. How i could fix this issue? Im using the newest 6.1.2 Flowcode.