ds30 Loader free edition forums
dsPIC33FJ16GS504 XC16 Timed out issue - Printable Version

+- ds30 Loader free edition forums (https://picbootloader.com/forum)
+-- Forum: Support (https://picbootloader.com/forum/forumdisplay.php?fid=3)
+--- Forum: 16-bit firmwares (https://picbootloader.com/forum/forumdisplay.php?fid=6)
+--- Thread: dsPIC33FJ16GS504 XC16 Timed out issue (/showthread.php?tid=2282)



dsPIC33FJ16GS504 XC16 Timed out issue - Pollux16 - 2014-08-05

Hi Mikael and everyone.

First of all thank you for sharing your dsPIC bootloader.
I am currently working on a dsPIC33F and trying to implement your bootloader via MCP2200 USB to UART converter.

However, i can't reach the bootloader from USB (COM port) Huh

On the GUI I clicked on the BL check button, and then after a while a message appears "Timed out". To conclude, I can't program anything through USB. Undecided

More details : I'm using XC16 compiler and I have created a new MPLABX project with all your sources.
I've correctly modify the PPS register, but I dont know where to specify PLL registers (if I have to) so i came back on the FRC oscillator but nothing more happened.
Baudrates in GUI is the same as in bootloader.
There is no problem during compiling but it seems include define from ds30loader.s are not pointing out any include files attached with the project.

I would be very grateful if you can take a look at my project. Smile
You can find it as attached file.

Thanks in advance

Paul


.zip   dsPIC33FJ16GS504 BL.zip (Size: 71.27 KB / Downloads: 33)


RE: dsPIC33FJ16GS504 XC16 Timed out issue - Mikael Gustavsson - 2014-08-07

Hi Paul,
I will take a look at this once I get time.

Regards
Mikael


RE: dsPIC33FJ16GS504 XC16 Timed out issue - Pollux16 - 2014-08-07

Thank you very much for taking my request in consideration Smile
No problem, I'm waiting and keep on trying to find a solution


RE: dsPIC33FJ16GS504 XC16 Timed out issue - Mikael Gustavsson - 2014-08-12

Hi,
Do you need to configure the internal oscillator to operate at 7,37MHz?


RE: dsPIC33FJ16GS504 XC16 Timed out issue - Pollux16 - 2014-08-12

Hi,
yes in order to test it. But later i want it to work with my 78MHz PLL ( = 39MIPs with a 12MHz quartz)
Actually I don't know where to specify these clocks settings nor what kind of asm code add in it.

Thanks again for your help Smile


RE: dsPIC33FJ16GS504 XC16 Timed out issue - Mikael Gustavsson - 2014-08-17

Solved with help of this thread: http://mrmackey.no-ip.org/elektronik/ds30loader/forum/showthread.php?tid=2284