Hello,
Edit: SSP_INVALID_ADDRESS error is resolved (thank you garyj), the other is still outstanding.
I'm having trouble running blankCheck in my project. Whether I'm reading code flash or data flash, the result of the call to blankCheck is SSP_ERR_INVALID_ADDRESS.
Examples of addresses I've tried for the S3A3, all uint32_t:
Code flash: 0x00030000, 0x00040000, 0x00000800, 0x00000800*16
Data flash: 0x40100000, 0x40100400
They all result in SSP_ERR_INVALID_ADDRESS. I am not setting the Access Window in this code, and have disabled BGO for the flash module. I am reading 1 block each time: 1KB when accessing data flash, and 2KB when accessing code flash, per the user manual's memory map description.
###
I'm also running into a strange error where, inside the blankCheck method, the call to 'flash_blank_initiate' results in the program jumping to 0x23086078. The disassembly distinctly shows no branch or jump instruction, let alone to address 0x23086078.
This error is in another project, however the application code is the same (this project just contains more than flash access). Below I'll include screenshots of this error.
I step through the blankCheck call until reaching flash_blank_check; Stepping Into flash_blank_check triggers the error.
###
I've been puzzling over both of these for a couple days now, and I feel bad for taking so long, as the client is waiting on me to figure this out. If anyone has insight into these issues, I'd really appreciate any advice you have to offer!
###
Edit: Using SSP 1.5.0 (thanks garyj!)