ds30 Loader free edition forums
PIC24FJ128GA010 time out problem [solved] - 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: PIC24FJ128GA010 time out problem [solved] (/showthread.php?tid=195)



PIC24FJ128GA010 time out problem [solved] - Berkay Dogan - 2011-07-01

Hi,

I tried to find the bootloader by ds30, but i get an error " time out". When i enable USE_ABAUD, i get an error " Unexpected data received. 6 bytes, expected max 3, aborting Firmware version timed out". I know that, I must use the bootlaoder in with an exact baudrate. But in anyway i couldn't get any response from the bootloader.

my projects works at 40mhz, the internal cycle clock is 8000000. I checked all the configurations and i couldn't find the problem. I attached the bootloader firmware that i tried to modify.

Thanks.


RE: PIC24FJ128GA010 time out problem - Mikael Gustavsson - 2011-07-04

Hi,
Do you reset the device and press Write within 3 seconds?


RE: PIC24FJ128GA010 time out problem - Berkay Dogan - 2011-07-04

Yes, i find the problem and i am searching the forums that you wrote before. I am using uart2 and the pins RF4->U2RX and RF5->U2TX. I changed the receive configuration for U2RX but i could not find the RPOR_ in datasheet(PIC24FJ128GA010) for U2TX.

Best Regards,
Berkay.


RE: PIC24FJ128GA010 time out problem - Mikael Gustavsson - 2011-07-04

You have choose the internal frc as clock source.
According to the datasheet, the frc defaults to 4MHZ.
Either change Fcy definition or configure the frc for 8MHz.


RE: PIC24FJ128GA010 time out problem - Berkay Dogan - 2011-07-04

I try to confıgure but i could not do. Do you have any example for this subject, i mixed some settings and i have to find a way to make it work.


Best Regards,
Berkay


RE: PIC24FJ128GA010 time out problem - Mikael Gustavsson - 2011-07-04

If you replace FNOSC_FRC with FNOSC_FRCPLL you will get 4MHz * 4 = 16MHz => Fcy= 8MIPS.


RE: PIC24FJ128GA010 time out problem - Berkay Dogan - 2011-07-06

Hi,

Thanks for your advice, i found a firmware version that you coded. That is for PIC24FJ(v1.1.1 july 2010).I configured the baudrate and the others. When i try to connect to the pic by DS30LoaderGui, it gives an error exactly"Firmware version timed out". It didn't wait for the searching time(10 seconds).

thanks for your help.

Berkay



RE: PIC24FJ128GA010 time out problem - Mikael Gustavsson - 2011-07-06

No that means you have a communication problem. You should
-verify oscillator frequency
-check errata for uart problems
-try differente communication settings