Cypress技术论坛
直播中

王建华

7年用户 350经验值
私信 关注
[问答]

是否可以在SPI闪存中使用引导加载程序

你好,
是否可以在SPI闪存中使用引导加载程序,然后在32位模式下安装应用程序,即UART仍然可用,并且可以访问SPI?
谢谢
隆皮

以上来自于百度翻译


     以下为原文
  Hi,
    is it possible to when using a bootloader in a SPI flash and then setup the application in 32-bit mode that the UART is still available and the SPI can be accessed?
    thanks
    lumpi

回帖(5)

王建华

2019-2-19 14:38:27
你好,
谢谢。我喜欢把一个小程序为SPI Flash还附加应用程序。引导程序加载应用程序到SRAM,然后应用程序启动,它是32bit GPIF模式设置。你明白了吗?
在32bit GPIF模式的SPI UART在相同的引脚连接到SPI MISO(uarttx!!!!!!)所以如果我想传递的SPI,然后切换和软件UART SPI?这是可能的吗?
有时,应用程序需要保存用户的具体信息,得到这些信息的SPI Flash应用程序运行时。
当做,
隆皮

以上来自于百度翻译


     以下为原文
  Hi,
    thanks. I like to put a small bootloader into the SPI flash and also append an application then. The bootloader loads the application into SRAM and then the application starts and it is setup in GPIF 32bit mode. You understand?
    The UART in GPIF 32bit mode is at the same pins as the SPI (UART TX is connected to SPI MISO!!!!). So if I like to transfer SPI, then I have to switch between UART and software SPI? Would this be possible?
    Sometimes application needs to save user specific informations in SPI flash and also get that information while application is running.
    regards,
    lumpi
举报

王建华

2019-2-19 14:58:23
你好,
有时,运行中的应用程序需要在SPI Flash中保存用户特定的信息,并且在应用程序运行时也获取这些信息。因此,在这个时候,如果我需要SPIFALSH,我可以关闭UART外围设备并激活软件?
当做,
隆皮

以上来自于百度翻译


     以下为原文
  Hi,
    Sometimes out running application needs to save user specific informations in SPI flash and also get that information while application is running. So in this time if I need the SPI falsh I may switch off the UART peripheral and activate softwareSPI?
    regards,
    lumpi
举报

h1654155275.5814

2019-2-19 15:06:22
嗨,Lumpi,
对。它应该是可能的,正如你上面所描述的。
谢谢,
西克里希纳。

以上来自于百度翻译


     以下为原文
  Hi Lumpi,
    Yes. It should be possible as you described above.
    Thanks,
    sai krishna.
举报

王建华

2019-2-19 15:25:40
嗨,Sai Krishna,
谢谢你,太好了。
隆皮

以上来自于百度翻译


     以下为原文
  Hi Sai Krishna,
    thank you, great.
    lumpi
举报

更多回帖

发帖
×
20
完善资料,
赚取积分