chipKIT32 / PIC32-avrdude-bootloader

The 'new' bootloader for MPIDE/chipKIT PIC32 boards
44 stars 62 forks source link

Added code to report device ID as parameters 0x44-0x47 #18

Closed majenkotech closed 8 years ago

majenkotech commented 8 years ago

The programmer (pic32prog) is now attempts to probe the device ID through the parameters 0x44 through 0x47. First it tries to load the default 0xDEAFB00B device ID into the parameters and read it back. This code now replaces those written values with the actual device ID so that pic32prog knows what chip it is programming and how much flash etc it has.