cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H753 eval board NOR flash address lines shorted

AShel.1
Associate III

I'm using STM32H753 eval board and trying to implement memory tests like data, address pins short, memory cell corrupted etc. on this eval baord there is MT28EW128ABA1LPC-0SIT.

for testing address pins short detection I've shorted A4 and A5 pins but HAL_NOR_Init function goes to error handler because it reads CommandSet as 0xFFFF which doesn't match to Fujitsu/ Intel command set so it enters into error handler.

/* Get the value of the command set */

  NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST_CFI), NOR_CMD_DATA_CFI);

  hnor->CommandSet = *(__IO uint16_t *) NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_ADDRESS_COMMAND_SET);

  status = HAL_NOR_ReturnToReadMode(hnor);

I've referred MT28EW128ABA1LPC-0SIT datasheet for its behavior in case of address lines short but did not find any solution.

anybody has any clue on it?

0 REPLIES 0