STM32F469I Discovery - cannot flash demo hex file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-01-12 5:59 AM
Hi,
I'm trying to flash the demo hex file from STM32F469I-Discovery Kit. But STLink Utility fails when download the Firmware.
I've attached log Files.
Following Error Message occurs:
14:32:53 : Connection to device is lost: check power supply and debug connection.
14:32:53 : If the target is in low power mode, please enable 'Debug in Low Power mode' option from Target->settings menu.14:53:49 : Cannot save hex/srec file to bin fileIs there a problem when flashing the external NAND Flash?
Thank you.
Kind Regards
Andreas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-01-12 6:14 AM
Hi Andreas,
You are using an old version of STLink firmware.
Please make sure to use the last one provided by ST using :Khouloud.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-01-12 7:03 AM
Hi,
thanks for reply.
Actually it didn't help. This is the error I get:
15:56:31 : ST-LINK SN : 0672FF544949847067075921
15:56:31 : ST-LINK Firmware version : V2J28M1815:56:31 : Connected via SWD.15:56:31 : SWD Frequency = 0,9 MHz.15:56:31 : Connection mode : Normal.15:56:31 : Debug in Low Power mode enabled.15:56:31 : Device ID:0x434 15:56:31 : Device flash Size : 2MBytes15:56:31 : Device family :STM32F469x/F479x15:56:35 : [NAND_Dump_FW_Ver_1_3_0.hex] opened successfully.15:56:35 : [NAND_Dump_FW_Ver_1_3_0.hex] checksum : 0x92F6E884 15:56:39 : [STM32CubeDemo_STM32F469I-Disco_1.1.4.hex] opened successfully. Address Ranges [0x08000000 0x080AF787] [0x90000000 0x90792C14] 15:56:39 : [STM32CubeDemo_STM32F469I-Disco_1.1.4.hex] checksum : 0x54A4A2ED 15:59:00 : STLink USB communication error15:59:00 : Error occured during program operation!15:59:00 : Can not connect to device! 15:59:07 : Disconnected from device.15:59:07 : Connection to device is lost: check power supply and debug connection.15:59:07 : If the target is in low power mode, please enable 'Debug in Low Power mode' option from Target->settings menu.I already switched on low power mode debug. I think the problem is with the external NAND Flash. The 1st part which should be flashed on microcontroller is working. So I can see the whole menu of the DemoApp. But there are no Images or Animations.
The Demo I'm loading is from the Demo Package provided by ST.
Kind Regards
Andreas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-01-12 10:10 AM
Sounds more like the bugginess I complained about in ST-LINK Utilities v4.0.0 a while back, it can't save files in certain formats some of the time.
This is a mirror of v3.9.0
https://drive.google.com/open?id=0B7OY5pub_GfITE5lM1RZbnlpUVE
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-01-12 10:12 AM
Ok, quick search, reported 2 months ago
https://community.st.com/0D50X00009XkgXVSAZ
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-01-13 8:53 AM
Hi Andreas,
In order to program the demonstration correctly, have you followed those steps?
- Open STM32 ST-Link Utility , click on 'External Loader' from the bar menu then check 'N25Q128A_STM32469I-DISCO' box.
- Connect the STM32F469I-DISCO board to PC with USB cable through CN1
- Use 'STM32CubeDemo_STM32F469I-Disco_1.1.4.hex' file provided under “Binary� with STM32 ST-Link Utility to program both internal Flash and external QSPI memory
- Copy the audio and video files provided under 'Utilities/Media/' in the USB key
- Plug a USB micro A-Male to A-Female cable on CN13 connector
-> The internal Flash and the external QSPI are now programmed and the demonstration is shown on the board.
Khouloud.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-08-31 2:22 AM
I stumbled into this this morning. I am using version 4.0.0 and the message mentioned in the original post appeared when I tried to dump content of the flash into a bin file. Other formats where saved without problems. After a bit of trial and error I found a workaround: I used command line, AND I started the prompt specifying I wanted it with administrator rights (nb: my current windows user already has them, so it seems mandatory to do this way). I then executed something like:
ST-LINK_CLI.exe -Dump 0x08000000 0x200000 filename.bin
and after the progress bar shown is completed, and a confirmation message is shown, I had my dump file.
Note that the same command line on a prompt without administrative rights results in the same output except for the final confirmation message.
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-08-31 7:27 AM
Hi
fabrizio.pizzolato
‌,Thanks for posting your findings here. This will be helpful for our STM32 MCUs forum.
Khouloud
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-08-31 7:46 AM
You're welcome. I am not a sesoned expert with this specific MCU but I know this kind of problem take a lot of time to solve, shortening valuable development time, so it's always nice to share hints like this. Have a nice day.
Fabrizio