8 posts / 0 new
Last post
gert186
Offline
Last seen:1 year 7 months ago
Joined:2016-04-21 12:59
Programm The PAN1740

Hi,

I have written or better adapt the DSPS and would like to burn it permanent to the PAN1740. I have produced a *.hex File and It works like a charme if i use the Connection Manager for downloading. If the Power is interrupted I have to Load the Firmware again. How can I handle that problem that it would start automatically or better start my programm without connection manager ? Is there any routine ?

Keywords:
Device:
MT_dialog
Offline
Last seen:5 months 3 weeks ago
Staff
Joined:2015-06-08 11:34
Hi gert186,

Hi gert186,

Connection manager downloads the code directly into the 580's sysram, with no power the sysram doesn't retain the program. You have two options, either to burn the OTP of your 580 and boot from the OTP when power up, or you can use an external SPI flash and burn the flash with your code. Regarding the flash the primary bootloader will boot from the predefined pins. Please check the AN-B-001 document for more info regarding the booting sequence on the 580. For both burning the OTP and the flash you can use the Smart Snippets tool.

Thanks MT_dialog

gert186
Offline
Last seen:1 year 7 months ago
Joined:2016-04-21 12:59
Power up from the OTP sounds

Power up from the OTP sounds good but how can I switch that on? Is there a routine to do that ?
Is there any TUT who handle this part of burning into OTP ?

That would be very nice!

@16-07-06 07:22:58] Received error message while checking whether burning was successful: FFFFFFFE.

That error occures

也许那些1:2的销6.8 v是wrong?

so may i found the reason why it is not posible:

Tool for reading and writing the OTP. With this tool you can do the last step in the
development chain and burn the OTP fuses when you go into production. This tool
does not work with the USB-Dongle for security reason. The programming voltage of
6.8V needed to enable the programming is not supported.

SO How can I Burn the Program on the USB Device ?????? Are there any possibilities ?

MT_dialog
Offline
Last seen:5 months 3 weeks ago
Staff
Joined:2015-06-08 11:34
Hi gert186,

Hi gert186,

There is a standard routine when the 580 powers up, it checks the OTP header for a specific value in the application flags field and if there is no value in the application flags the device starts the booting sequence from external devices, please check the document i mentioned in section 5 in my previous post for more info on this. Regarding the burning the OTP of the USB PAN dongle this can not be done, please check the below thread at post #6.

http://support.dialog-semiconductor.com/code-burning

Thanks MT_dialog

gert186
Offline
Last seen:1 year 7 months ago
Joined:2016-04-21 12:59
So short, it is not possible

So short, it is not possible to flash a Program permanent into the USB PAN ?
hmm thats not good for me. Is there any possible solution or equipment with really small dimensions who can handle this?

MT_dialog
Offline
Last seen:5 months 3 weeks ago
Staff
Joined:2015-06-08 11:34
Hi gert186,

Hi gert186,

You can try to attach an SPI flash on the PAN in order to boot from it upon start up using the primary bootloader on the specified spi pins P00/P03/P05/P06.

Thanks MT_dialog

gert186
Offline
Last seen:1 year 7 months ago
Joined:2016-04-21 12:59
How? Is there a shematic

How? Is there a shematic example ?

I use P 0.4 and P0.5 as UART Input. (RX and TX to a Microcontroller)

mfg
Gert

Thanks for help

MT_dialog
Offline
Last seen:5 months 3 weeks ago
Staff
Joined:2015-06-08 11:34
Hi gert186,

Hi gert186,

For the PAN USB there should be schematics, you can check on the panasonic support for the available schematics of the dongle.

Thanks MT_dialog