I have a P-Star with Pic18F25K50 module.
I make a simple con in order read an ADC input from an accelerometer but, after I upload the cone in p-star, the module remain in bootloader mode.
I try after that to make a simple code, blinking a LED and it works well after upload.
After that, I modify the first code to add the blink LED routine. The problem is: if ADC=enabled (or UART, or both), the p-star remain in bootloader mode; if ADC=desabled, the code works and p-star pass the bootloader mode to normal mode.
The code is written in MikroeC for PIC.
Cod.rar (28.5 KB)
Do you have encountered this type of behavior?
Thank you, Mihai