example about led blinky for QSPI

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

example about led blinky for QSPI

888 Views
ninesun
Contributor II

Hi guys. I want to get help for the example of flexspi_nor_debug.

1.My hardware is based on the 105x evk board. it use qspi chip w25q32 to replace hyperflash

2.I modify the file of evkbimxrt1050_flexspi_nor_config.c to fit for qspi flash application. Then i test it with the example hello_world with configuration of flexspi_nor_debug first. Then the serial port can output hello_world. It demonstrate the hardware should be ok.

3.I use the configration for sram with example of blinky_led.The led can be blinky. (i had changed the blinky pin as GPIO1 pin 2)   

4.then i build the example with the configuration of flexspi_nor_debug. Then i download it to board. the result is falure. I try to debug it. it is strange that the instruction is broken when it call the function GPIO_PinWrite, but it jump to function CLOCK_GetPllFreq. 

I use the DAPlink to download firmware to the flash. It should be ok because i had tested it in step 2. the elf file can be downloaded to the flash to get the correct result

Then who can give me suggestions about it? why it jump to such starnge location? Thank you!

I use the SDK version is 2.6.1 the toolchain is ARM GCC

Labels (1)
0 Kudos
2 Replies

761 Views
jeremyzhou
NXP Employee
NXP Employee

Hi nine sun,

Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
I was wondering if you can share the modified file of evkbimxrt1050_flexspi_nor_config.c, in addition, I'd like to suggest you use the polling_transfer demo (~\boards\evkbimxrt1050\driver_examples\flexspi\nor\polling_transfer) to validate the hardware circuit connection between the i.MX RT1050 and QSPI W25Q32.

Have a great day,
TIC

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

761 Views
ninesun
Contributor II

Thank you!,I will try it

0 Kudos