• AVR Freaks

Helpful ReplyHot!PIC32MZ Dynamic Flash ECC "On" don't works for Bootloader basic

Author
jorge leffa
New Member
  • Total Posts : 2
  • Reward points : 0
  • Joined: 2012/10/22 10:25:16
  • Location: 0
  • Status: offline
2017/12/02 14:41:16 (permalink)
5 (1)

PIC32MZ Dynamic Flash ECC "On" don't works for Bootloader basic

HI,
Would anyone know why the basic bootloader does not work with  "Dynamic flash ECC" option ON?
if i use the bootloader basic with option "FECCCON = OFF_LOCKED" works fine!
bootloader mode USB HOST
PIC32MZ1024EFK100
#1
Larry.Standage
Super Member
  • Total Posts : 924
  • Reward points : 0
  • Joined: 2011/12/30 09:50:47
  • Location: 0
  • Status: offline
Re: PIC32MZ Dynamic Flash ECC "On" don't works for Bootloader basic 2017/12/04 10:54:39 (permalink) ☄ Helpfulby DominusT 2019/10/11 06:08:37
0
The bootloader should know to use quad-word programming when running on the MZ. The trick is to make sure that the hex file you send isn't broken up as is done sometimes.
 
In the Project Properties window, under "Building", make sure the "Normalize Hex File" box is checked. That will create a hex file more friendly to quad-word/ECC programming.
#2
jorge leffa
New Member
  • Total Posts : 2
  • Reward points : 0
  • Joined: 2012/10/22 10:25:16
  • Location: 0
  • Status: offline
Re: PIC32MZ Dynamic Flash ECC "On" don't works for Bootloader basic 2017/12/05 10:02:42 (permalink)
0
Thank you Larry,
Makes sense!
Even with this option "Normalize Hex File" selected, there is still a problem.
I checked the generated Hex file and it only has 16bytes lines.

Works well if DYNAMIC is selected in the FECCCON config!
#3
DominusT
Super Member
  • Total Posts : 1332
  • Reward points : 0
  • Joined: 2005/07/22 08:31:18
  • Status: offline
Re: PIC32MZ Dynamic Flash ECC "On" don't works for Bootloader basic 2019/11/05 10:11:09 (permalink)
0
jorge leffa
Thank you Larry,
Makes sense!
Even with this option "Normalize Hex File" selected, there is still a problem.
I checked the generated Hex file and it only has 16bytes lines.

Works well if DYNAMIC is selected in the FECCCON config!


Hi.

I have suggested your suggestion but I can't get the bootloader to work with Dynamic Flash ECC "On".
 
The only way is that the bootloader must be wiht FECCCON =  OFF_unlocked

I imagine something else I should do. Any suggestions or comments.
#4
Jump to:
© 2019 APG vNext Commercial Version 4.5