• AVR Freaks

Hot!Running Simulator with PIC32MX6xx

Author
PLamb
New Member
  • Total Posts : 1
  • Reward points : 0
  • Joined: 2021/01/15 14:49:09
  • Location: 0
  • Status: offline
2021/01/21 13:54:18 (permalink)
0

Running Simulator with PIC32MX6xx

I have a flash file I have converted into Intel Hex, and am trying to load it into the simulator to see if I can make it work.
 
I am not sure I have created the hex file correctly, and if I need to have the PFM and BFM/DCR as separate files or as one big file and the simulator will sort it out.
 
So far I have the file as...
:020000040000FA
:020000041FC01B
:102FF000...
:020000040000FA
:020000041FC01B
:10000000...
:0401F000...
:020000040000FA
:020000041FC01B
:10038000...
:020000040000FA
:020000041FC01B
:10048000...
:0C04A000...
:020000040000FA
:020000041FC01B
:10118000...
:08186000...
:020000040000FA
:020000041D00DD
:10000000...
:1062C000...
:00000001FF

 
Should I have the DCR and BFMs I have as separate files ie:
 

:020000040000FA
:020000041FC01B
:102FF000...
:00000001FF

 
And does each record need the header of:
 

:020000040000FA

 
Then the final trailing record of:
 

:00000001FF

 
At the end of the file.
 
Then I would want the simulator to start and step over any errors or failures due to the connected modules that are missing.
 
I managed to get the firmware to boot using QEMU from here https://github.com/sergev/qemu but I am getting these errors so I thought I would try the microchip simulator.
 

--- Read 1f800810: peripheral register not supported
--- Write 00000001 to 1f800008: peripheral register not supported
--- Write 00000001 to ???: readonly register
--- Read 1f800600: peripheral register not supported
--- Write 00000030 to 1f800600: peripheral register not supported
--- Write 00000030 to ???: readonly register
--- Write 0000ffff to 1f800620: peripheral register not supported

#1

0 Replies Related Threads

    Jump to:
    © 2021 APG vNext Commercial Version 4.5