FX3 GPIO usage in Bootloader mode

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Miquel
Level 1
Level 1
First solution authored 5 sign-ins First reply posted

Hi,

 

I am trying to program two different SPI nor flash memories using the Control Center.

To do so, I want to use a GPIO from the FX3 to control a digital switch before programing.

Is there any way to manage any GPIO with FX3 in bootloader mode? 

 

Thank you!

0 Likes
1 Solution
Rashi_Vatsa
Moderator
Moderator
Moderator
5 likes given 500 solutions authored 1000 replies posted

Hello,

Sorry to misunderstand your question.

The GPIO cannot be driven without downloading any firmware in the device. 

As it is a ROM Bootloader, and hence it cannot be modified to drive a GPIO. You can try using a second stage bootloader if you want to write to both the SPI Flash or you can use a switch so that only one Flash is selected at a time.

Regards,
Rashi

View solution in original post

4 Replies
Rashi_Vatsa
Moderator
Moderator
Moderator
5 likes given 500 solutions authored 1000 replies posted

Hello,

Please refer to section 11 of this app note https://www.cypress.com/file/201991/download for the default state of the FX3 I/Os for the different boot modes, while the bootloader is executing before application firmware download). 

Regards,
Rashi
Miquel
Level 1
Level 1
First solution authored 5 sign-ins First reply posted

Hi Rashi,

thank you for the quick feedback.

In this section, the default state of the I/O are described, but I am asking if I can change the state of a certain GPIO without downloading any firmware in the device.

Regards

0 Likes
Rashi_Vatsa
Moderator
Moderator
Moderator
5 likes given 500 solutions authored 1000 replies posted

Hello,

Sorry to misunderstand your question.

The GPIO cannot be driven without downloading any firmware in the device. 

As it is a ROM Bootloader, and hence it cannot be modified to drive a GPIO. You can try using a second stage bootloader if you want to write to both the SPI Flash or you can use a switch so that only one Flash is selected at a time.

Regards,
Rashi

Hi,

Okay, understood. I will try to use the second stage bootloader.

Thank you very much!

0 Likes