how i view flash memory data in s32ds?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how i view flash memory data in s32ds?

Jump to solution
688 Views
rlaxortn
Contributor IV

my develope enviroment is s32ds 3.6.1, RTD 4.0.0, s32k314 mcu.

 

i am developing bootloader.

and i am trying flash memory erase, write, read. 

 

so i wanna check flash memory data i write data to flash memory. 

but i don't know '???' when i view memory view in the s32ds.

rlaxortn_0-1771466662112.png

 

how i view flash memory data?

i compared buffer. that does not have problem. 

so i wanna view flash memory from writed mcu flash memory by s32ds. 

thanks.

 

Tags (3)
0 Kudos
Reply
1 Solution
660 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

'???'- means that memory is not accessible at this time or it is full of ECC errors, which is very rare case.

  • The MCU is running and the debugger can’t access the flash at that moment.
  • The address you typed is incorrect or not aligned.
  • The flash controller (C55FMC for S32K3) is busy erasing/writing → flash is temporarily unreadable.
  • The debugger is not fully connected or the MCU is not halted.

0x00600000 - 0x006FFFFF is valid range for S32K314 of Program flash (Block 2).

So I assume that MCU is running (not in a stop /suspend debug mode) or some operation is running on this flash block.

Best regards,

Peter

 

View solution in original post

0 Kudos
Reply
1 Reply
661 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

'???'- means that memory is not accessible at this time or it is full of ECC errors, which is very rare case.

  • The MCU is running and the debugger can’t access the flash at that moment.
  • The address you typed is incorrect or not aligned.
  • The flash controller (C55FMC for S32K3) is busy erasing/writing → flash is temporarily unreadable.
  • The debugger is not fully connected or the MCU is not halted.

0x00600000 - 0x006FFFFF is valid range for S32K314 of Program flash (Block 2).

So I assume that MCU is running (not in a stop /suspend debug mode) or some operation is running on this flash block.

Best regards,

Peter

 

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2320012%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Ehow%20i%20view%20flash%20memory%20data%20in%20s32ds%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2320012%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Emy%20develope%20enviroment%20is%20s32ds%203.6.1%2C%20RTD%204.0.0%2C%20s32k314%20mcu.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3Ei%20am%20developing%20bootloader.%3C%2FP%3E%3CP%3Eand%20i%20am%20trying%20flash%20memory%20erase%2C%20write%2C%20read.%26nbsp%3B%3C%2FP%3E%3CBR%20%2F%3E%3CP%3Eso%20i%20wanna%20check%20flash%20memory%20data%20i%20write%20data%20to%20flash%20memory.%26nbsp%3B%3C%2FP%3E%3CP%3Ebut%20i%20don't%20know%20'%3F%3F%3F'%20when%20i%20view%20memory%20view%20in%20the%20s32ds.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22rlaxortn_0-1771466662112.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22rlaxortn_0-1771466662112.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F377203iE535BBE2AC160828%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22rlaxortn_0-1771466662112.png%22%20alt%3D%22rlaxortn_0-1771466662112.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSTRONG%3Ehow%20i%20view%20flash%20memory%20data%3F%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3Ei%20compared%20buffer.%20that%20does%20not%20have%20problem.%26nbsp%3B%3C%2FP%3E%3CP%3Eso%20i%20wanna%20view%20flash%20memory%20from%20writed%20mcu%20flash%20memory%20by%20s32ds.%26nbsp%3B%3C%2FP%3E%3CP%3Ethanks.%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2320092%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20how%20i%20view%20flash%20memory%20data%20in%20s32ds%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2320092%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CP%3E'%3F%3F%3F'-%20means%20that%20memory%20is%20not%20accessible%20at%20this%20time%20or%20it%20is%20full%20of%20ECC%20errors%2C%20which%20is%20very%20rare%20case.%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EThe%20MCU%20is%20running%20and%20the%20debugger%20can%E2%80%99t%20access%20the%20flash%20at%20that%20moment.%3C%2FLI%3E%0A%3CLI%3EThe%20address%20you%20typed%20is%20incorrect%20or%20not%20aligned.%3C%2FLI%3E%0A%3CLI%3EThe%20flash%20controller%20(C55FMC%20for%20S32K3)%20is%20busy%20erasing%2Fwriting%20%E2%86%92%20flash%20is%20temporarily%20unreadable.%3C%2FLI%3E%0A%3CLI%3EThe%20debugger%20is%20not%20fully%20connected%20or%20the%20MCU%20is%20not%20halted.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E0x00600000%20-%26nbsp%3B0x006FFFFF%20is%20valid%20range%20for%20S32K314%20of%26nbsp%3BProgram%20flash%20(Block%202).%3C%2FP%3E%0A%3CP%3ESo%20I%20assume%20that%20MCU%20is%20running%20(not%20in%20a%20stop%20%2Fsuspend%20debug%20mode)%20or%20some%20operation%20is%20running%20on%20this%20flash%20block.%3C%2FP%3E%0A%3CP%3EBest%20regards%2C%3C%2FP%3E%0A%3CP%3EPeter%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E