• AVR Freaks

READ AND WRITE IN PIC32MZ2048 PROGRAM AREA MEMORY

Author
SincPelp
New Member
  • Total Posts : 30
  • Reward points : 0
  • Joined: 2020/03/17 08:55:32
  • Location: 0
  • Status: offline
2021/01/22 13:08:25 (permalink)
4 (1)

READ AND WRITE IN PIC32MZ2048 PROGRAM AREA MEMORY

Hi,
 
I designed a custom PCB for a datalogger application based on PIC32MZ2048.
 
At the moment I am programming a bootloader for my application. I use the application provided by Microchip to do the update. For now, this is done via UART.
 
The PCB has no switches to force the bootloader to start. To trigger the bootloader I have thought of recording a known data in a specific position in the PIC32 memory from the main application. At startup, the bootloader checks this memory position, if it is correct it continues with the update, otherwise it jumps to the main program.
 
How can I write to the flash memory of the PIC32? And read?
 
Thanks for your help.
#1

0 Replies Related Threads

    Jump to:
    © 2021 APG vNext Commercial Version 4.5