Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 10 months ago.
I can't send .bin to memory Mbed
hello
I have an u-blox c027 connected whit USB cable. My problem is that when I send the "bin" file to u-blox memory. the USB device is disconnecter and the bin file is not saved. But an fail.txt is generated that will contain message "ERROR SWD".
thanks
Question relating to:
7 Answers
6 years, 5 months ago.
Same problem here.... I dumpt the thing in the trash can. Unbelievable that uBlox has a poor product like this.! Tried everyting I found in forums... different computers etc... stil after download .bin file drive is ejected and reconected..
9 years, 9 months ago.
Same problems using a nucleo f401re. starting to think these boards are not up to spec.
https://mbed.org/questions/3996/Nucleo-F401RE-SWD-ERROR-problem/#answer4513
I think it would be worthwhile to refer to the Datasheet for the micro controller STlink, perhaps the point is h the flash perceives only 20Kb? And receiving binary code it already it sews in STM32F4? I am also a newbie and I think that it is worth flash large files via some other method. Russian Hi =)
Look at the specification STM32F103TSB there is just a 20-KB SRAM, I understand more than the RAM memory on the controller "On-board ST-LINK/V2.1", you can not pour firmware by "Mass storage (USB Disk drive) for drag'n'drop programming"
Я думаю стоит обратиться к даташиту на микро контролер STlink, возможно все дело в том ч то ее флеш воспринимает только 20Kb? И получив бинарный код она уже его зашивает в STM32F4? Я тоже новичок и мне кажется что стоит прошивать большие файлы через другой способ. Русским Привет =)
Посмотрите на спецификацию STM32F103RB там как раз 20-КБ SRAM, Как я понял, больше чем ОЗУ память на контролере "On-board ST-LINK/V2.1", вы не сможете залить прошивку методом "Mass storage (USB Disk drive) for drag'n'drop programming"
posted by 10 Jul 20149 years, 9 months ago.
I think I should refer to the datasheets for the microcontroller ST link, maybe the whole thing is that its flash h takes only 20Kb? And emulating a flash drive, she received the binary code already in it sews STM32F4? I am also a beginner and I think that it is necessary to stitch large files through another method. Russian Hi =)
9 years, 5 months ago.
Follow these steps to not get swd error 1. Plug a standalone power source to your mbed board . I plugged in 5V,1A power supply 2.Now plug in usb cable. 3. Transfer your bin program. 4. unplug usb cable from mbed board. 5.Press the rest button. 6. Your program is ready to go.
9 years, 5 months ago.
Hello.
I also same problem has occurred. fail.txt is created in the mbed storage. It is written as "SWD ERORR".
I tried this page. http://developer.mbed.org/users/ublox/notebook/u-blox-C027-Downloading/
Development envirnment:
- I'm using C027-U20-0.
- Power supply is DC12V1A.
- Board revision is v1.2. LED1 is implementation.
- using WIndows7 32bit. Chrome browser.
Is there a solution?
I'm solved.
Although was using the DC plug, was run after input pin header VIN.
This page, there is written as follows: ( https://developer.mbed.org/users/ublox/notebook/u-blox-C027-Getting-Started/ )
Quote:
1. Connect your mbed to a PC Connect the power (7-17V) on the barrel connector or the pin header. Connect a USB cable to the C027 and the PC. The status lights will come on. After a few seconds of activity, the PC will recognise the u-blox-C027 as a standard USB drive.
However , it does not work even if it is input to the DC plug.
posted by 21 Nov 20149 years, 10 months ago.
Did you power the device using the barrel jack or VIN?
I power it with an adapter 7.5 v - 12v 1A (Heitech 09001551 Universal- Netzteil 1000 mA). but the same problem. only this time the system try to send file but after an moment the USB device is disconnected and the bin file is not saved .
posted by 18 Jun 20149 years, 10 months ago.
I got the same issue. I have tried two power adapter. One is 9v 1A, the other is 12v, 3A. Both of them met the "SWD error" and can't write the bin to mbed device. I have tried anyway I found on mbed.org but it still fails. When I copy the bin file to mbed, it disconnects from my laptop and reconnected. And I got a "fail.txt" with the content of "SWD error". The bin file isn't there. Is there anyway to solve this? Or only some special power adapter could be supported by this stupid board?
https://mbed.org/questions/3996/Nucleo-F401RE-SWD-ERROR-problem/#answer4513
I think it would be worthwhile to refer to the Datasheet for the micro controller STlink, perhaps the point is h the flash perceives only 20Kb? And receiving binary code it already it sews in STM32F4? I am also a newbie and I think that it is worth flash large files via some other method. Russian Hi =)
Look at the specification STM32F103TSB there is just a 20-KB SRAM, I understand more than the RAM memory on the controller "On-board ST-LINK/V2.1", you can not pour firmware by "Mass storage (USB Disk drive) for drag'n'drop programming"
Я думаю стоит обратиться к даташиту на микро контролер STlink, возможно все дело в том ч то ее флеш воспринимает только 20Kb? И получив бинарный код она уже его зашивает в STM32F4? Я тоже новичок и мне кажется что стоит прошивать большие файлы через другой способ. Русским Привет =)
Посмотрите на спецификацию STM32F103RB там как раз 20-КБ SRAM, Как я понял, больше чем ОЗУ память на контролере "On-board ST-LINK/V2.1", вы не сможете залить прошивку методом "Mass storage (USB Disk drive) for drag'n'drop programming"
posted by Sergey Kordubin 10 Jul 2014