Programing custom board via UART

6 posts / 0 new
Last post
fabiankropp
Offline
Last seen:4 years 11 months ago
加入:2016-03-21 12:36
Programing custom board via UART

Hi,

with our custom developed board we are able to load software into RAM.
When trying to program flash via UART using the SmartSnippet tool programing the flash constantly fails.

Any ideas why this does not work ?
特别是当我们可能需要校准the Oscillator and program MAC in post production step via UART.
If writing flash failed, i don't trust this means of data-transport

谢谢

Fabian

Device:
MT_dialog
Offline
Last seen:1 month 3 days ago
工作人员
加入:2015-06-08 11:34
Hi fabiankropp,

Hi fabiankropp,

Please check your connections, what are the UART and the SPI pins that you use (P04/P05 (UART), P00,P03,P05,P06 (SPI)) ? Also in smart snippets check your board setup, and make sure that the pins that are selected are the one that you actually use.

Thanks MT_dialog

fabiankropp
Offline
Last seen:4 years 11 months ago
加入:2016-03-21 12:36
Hello MT_dialog,

Hello MT_dialog,

i am not using SPI, just the default UART P04/P05

In SmartSnippet these are selected.

Cheers

Fabian

MT_dialog
Offline
Last seen:1 month 3 days ago
工作人员
加入:2015-06-08 11:34
Hi Fabian,

Hi Fabian,

From your first post i understand that you are trying to program the SPI Flash "When trying to program flash via UART using the SmartSnippet tool programing the flash constantly fails." In order to program the flash the smart snippets downloads a program in order to setup the pins the prepare the 580 for the flash erase/burning procedure. Please check what i ve mentioned above and if the flash is one of the dialog supported flash memories. You can find the memories that dialog support in the AN-B-023 document.

Thanks MT_dialog

fabiankropp
Offline
Last seen:4 years 11 months ago
加入:2016-03-21 12:36
Hi,

Hi,

i am using the 14583 with it's embedded flash

cheers

Fabian

MT_dialog
Offline
Last seen:1 month 3 days ago
工作人员
加入:2015-06-08 11:34
Hi Fabian,

Hi Fabian,

Even if that is the case the should make sure that the appropriate pins on smart snippets are selected (if you choose the 583 from the starting window smart snippets should choose the appropriate pins for the internal flash 2_0 - CLK, 2_9 - DO, 2_4 - DI, 2_3-EN but sometimes the proper selection doesn't occur) and also make sure that that flash pin on the 583 is supplied (VCC_FLASH, pin 5).

Thanks MT_dialog