For the "spi nor test" of Linux BSP for MX6DL-SDP.

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

For the "spi nor test" of Linux BSP for MX6DL-SDP.

Jump to solution
916 Views
yuuki
Senior Contributor II

Would you teach about the "spi nor test"?

The sdk_unit_test_ALL.bin was created by the following command.


<Command>
./tools/build_sdk -t mx6sdl -b smart_device

The "spi nor test" was performed on SABRE-SDP by using this bin file.
However, the NOR flash ID cannot be read.
The following errors occur.

---- Running eCSPI test, type 'x' to exit.
Please select test:
0 - NUMONYX SPI NOR
x - to exit.

Chip ID query FAIL.

NUMONYX SPI NOR test FAILED.


May I have advice?

Labels (1)
0 Kudos
1 Solution
651 Views
alejandrolozan1
NXP Employee
NXP Employee

Hi,

I have skimmed through the code and it seems that the only thing that may cause a problem is a timeout in the transfer.

Can you set DEBUG macro in the ecspi.c and recompile the sdk and verify the error?

Also, are you able to see at least a signal output in the corresponding pin?

Regards,

Alejandro

View solution in original post

0 Kudos
2 Replies
652 Views
alejandrolozan1
NXP Employee
NXP Employee

Hi,

I have skimmed through the code and it seems that the only thing that may cause a problem is a timeout in the transfer.

Can you set DEBUG macro in the ecspi.c and recompile the sdk and verify the error?

Also, are you able to see at least a signal output in the corresponding pin?

Regards,

Alejandro

0 Kudos
651 Views
yuuki
Senior Contributor II

Dear Alejandro-san,

Thank you for your support.

The problem was solved.

When checked, there was a problem in the judgment of a value.
The problem was solved as a result of correcting this.

Best Regards,

0 Kudos