I'm trying to write a bare-metal program that accesses the QSPI on my LS1021A-TWR X3 board. Neither my program, nor the CodeWarrior flash programmer task can access it. The Flash Programmer actually reports success of the diagnoses, but the ID it reports tells another story:
Flash Manufacturer ID :0x000000FF
Flash Device ID (byte1) :0x000000FF
Flash Device ID (byte2) :0x000000FF
Flash Device ID (byte3) :0x0000FFFF
Secure Device Verification:0x00000000
I'm debugging with Code Warrior TAP over USB.
Do I need a special configuration of Switches or config files in order to access the flash? My project is using the init file provided by CodeWarrior LS1021A-TWR_Init.tcl. Thanks.