Go Down

Topic: No device found on COM5 with Bossac on Winwdows 7 (Read 4 times) previous topic - next topic

Nassarane

Hi all !

I tried to upload a program in my Arduino Due with Bossac, but it does not work.

My command line is as follows:
Code: [Select]
C:\ARM\arduino-1.5.1r2\hardware\tools\bossac.exe -port=COM5 -U false -e -w -v -b C:\Users\Me\AppData\Local\Temp\build8940831537078293554.tmp\Blink.cpp.bin -R

Bossac displays the following message:
Code: [Select]
No device found on COM5

However, whenever I run the command line, the TX LED blink for about one second.

I work under Windows 7 and I use bossac.exe provided with Arduino Due IDE.

When I use the Arduino IDE Due, on COM5 there is no problem. But the command line I get the message "No device found on COM5".

I do not understand what happens !

I uplaod successful program only 2 times only with the command line.

Thank you for your help.

Nassa.

Palliser

Hello Nassarane. Try
Code: [Select]
--port=COM5 instead of
Code: [Select]
-port=COM5. It could be a syntax issue.

Nassarane

Oh sorry !

I made ??a mistake in this post.
In fact my command line is:

Code: [Select]
C:\ARM\arduino-1.5.1r2\hardware\tools\bossac.exe --port=COM5 -U false -e -w -v -b C:\Users\Me\AppData\Local\Temp\build8940831537078293554.tmp\Blink.cpp.bin -R

I try to add 2 options -d et the messages displayed are :
Code: [Select]
Send auto-baud
Set binary mode
No device found on COM5


I don't understand why this command line doesn't work...

Nassa.


Palliser

Next thing I would recommend is to do the following: With the board powered, press the erase button and after a second, press also the reset button. Keep them pressed for another second. Then power cycle the board and try again the bossac. Good luck!

Nassarane

Palliser, thanks very much for your help !

I erased and reset your my board and I relaunch my commad line.
The messages displayed are :
Code: [Select]
Erase flash
Write 9748 bytes to flash
[==============================] 100% (39/39 pages)
Verify 9748 bytes of flash
[==============================] 100% (39/39 pages)
Verify successful
Set boot flash true
CPU reset.


The program uploaded is running correctly ! Yes !

But if I try to relaunch my command line, It doesn't work !!!
I must erase and reset my board before upload my program...

But, I don't understand why the message displayed is different of Arduino IDE:
Code: [Select]
Erase flash
Write 9748 bytes to flash

[                              ] 0% (0/39 pages)
[=======                       ] 25% (10/39 pages)
[===============               ] 51% (20/39 pages)
[=======================       ] 76% (30/39 pages)
[==============================] 100% (39/39 pages)
Verify 9748 bytes of flash

[                              ] 0% (0/39 pages)
[=======                       ] 25% (10/39 pages)
[===============               ] 51% (20/39 pages)
[=======================       ] 76% (30/39 pages)
[==============================] 100% (39/39 pages)
Verify successful
Set boot flash true
CPU reset.


And why I must erase and reset my board each time I want to upload a program ?

Thanks.

Nassa.

Go Up