Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unable to change application frequency
#1
Hi,

If I use a dsPIC30F6014A with an FTDI USB/RS232 module, with no bootloader my application runs withs a 10MHz crystal/and PLL8 thus 80Mhz and works well. If I change the clock to 40Mhz/PLL4 in order to lower the battery drain of our application it also works correctly.

HOWEVER
When I do the same thing using the ds30 bootloader v1.5.5 I have problems. Using the PLL8 setting on the bootloader with FCY set at 10MHz the application downloads and runs OK.

If I now change the application to 40MHZ/PLL4 it fails to communicate with the bootloader.

For the PLL8 setting the bootloader is configured with FCY of 10000000 and config __FOSC, CSW_FSCM_OFF & XT_PLL8

For the PLL4 setting the bootloader is configured with FCY of 10000000 and config __FOSC, CSW_FSCM_OFF & XT_PLL4

This gives an error in the bootloader window:
Quote:Initiating write...
Sending auto baudrate sync character . unknown response from auto baudrate detection(0xE5), aborting
Tx 1 byte / Rx 1 byte / 3.3s
Write failed
So what should the setting for FCY be?

All help appreciated

Roger B

Hmm . . actually it does communicate but only if the baudrate is set to 57600 or less in the loader window! If I try to change FCY to above 10MHz there is a limit imposed - I'm confused!
Reply


Messages In This Thread
Unable to change application frequency - by rogerb - 2012-12-03, 16:18:17

Forum Jump:


Users browsing this thread: 2 Guest(s)