4 posts / 0 new
Last post
birenpeter
Offline
Last seen:4 years 5 months ago
加入:2015-03-25 07:41
download to SPI flash through UART

hi,
I have trouble with downloading the HEX to internal flash memery of 14583 through UART,using the snappets. I can "connect" but never "erase",and the read back data are "0x00".When trying to "burn",I allways get "Timeout whilewaiting to receive the most significant byte of packet length(10000 msecs)" message. the VCCFLASH pin is tied to 3.0V,and the P2_3 is left float,and the other 3 SPI pins are desinged to attatch to ADXL362(but the sensor is not welded now),only the P2_0(SPI_EN) pin has 3 capacitances(2.0uF) in connection. I can use the uart booter to load HEX and use the KEIL IDE to debug. What may be my mistake?

Keywords:
Device:
MT_dialog
Offline
Last seen:2 months 16 hours ago
工作人员
加入:2015-06-08 11:34
Hi birenpeter,

Hi birenpeter,

Since the connection is successful that means that the uart flash_programmer is downloaded successfully in your board, the P2_3 is the SPI_EN and the P2_0 is the CLK for the internal flash, perhaps those capacitances are creating the problem and interfiere with the uart programmer in accessing the flash (mess with the SPI clock) also please make sure that you have selected the proper pins in the SS board setup. Also as the 583 datasheet indicates those pins should not be used during the booting process since the bootloader will try to access the internal SPI through those pins.

Thanks MT_dialog

gayan_gamage
Offline
Last seen:4 years 9 months ago
加入:2016-04-28 21:23
嗨,我有evalkit-basic

嗨,我有evalkit-basicand I was trying out the new ota tutorial with the prox_reporter project. i can not erase the spi flash (there is an error) and the burn does not result in proper flashing. The board is set in the default(UART mode). I can not connect to the board when the headers are changed to the SPI mode . So how do I download the data to the flash using the evalkit-B

MT_dialog
Offline
Last seen:2 months 16 hours ago
工作人员
加入:2015-06-08 11:34
Hi gayan_gamage,

Hi gayan_gamage,

If you want to burn the spi flash on the basic kit please check your jumper connections, make sure that all the apropriate spi pins are connected (CS, MISO, MOSI, CLK and he SPI flash VCC) also make sure that those pins are selected in the board setup tab in the Smart Snippets tool. If you want to use the UART as interface you have to use an extra cable or a 3-way jumper since the P05 pin is used also by UART and the SPI MISO. Also please try to use the JTAG interface in order to program the flash.

Thanks MT_dialog