no device found on com

Hi guys.
Thank you for taking the time for me.

My board is SparkFun 9DoF Razor IMU M0.
Introduction of the board:
https://learn.sparkfun.com/tutorials/9dof-razor-imu-m0-hookup-guide/introduction

I think there's no problem uploading codes via arduino ide through i already did it for few week and offical introduction say so.

There's a problem with my computer while uploading the code to this board.
Port already selected,and still can read the data from the IMU.
screenshot:

The strangest part is my computer still can upload sketches to other board,and other computer still can upload codes to the IMU board...

I don't know where the problem is...
I remember there was a error while i installing new release patch on one of Board manager board,
and it start not uploadable.

So i tried re-install all boards in Board Manager and IDE.
But seems something didn't clean up at IDE.I used cclear after unstall.
I did'nt sure will that do the job,but seems not.Issue still exsist.

And the driver i'm not sure if there has problems.Because it worked at the first day i plugin the IMU board.

The board have no reset button,but it have bootloader mode throgh i still fail.

I think there no problem with IMU.
There's something wrong with IDE or my pc,but i dont know how to fix it.
s

I have job to do :confused: :confused:
I'm count on you guys :sob: :sob: :sob: :sob:

Sounds more like a sparkfun forum question than an Arduino one..

As for possible causes it could be any of the similar issuers seen for Arduino boards so you might want to read up on other peoples issues if you dont want to go to the sparkfun forums.

I don't have any experience with this board, but from the schematic it looks like reset is broken out to pin 10 of the debug header. Try connecting a wire to ground and then simulate a double button press by connecting the wire to the reset pin and then removing it twice in quick succession. That should activate the bootloader of the board, after which hopefully you can do an upload.

ballscrewbob :

Sorry..
I have posted on sparkfun forum and also send messenge to sparkfun's support email after you said.

pert:

I can't find debug header on the board,i don't know which one is.Or may the big pin10 with hole?
board picture here:https://www.google.com/search?q=imu+m0

It clearly shows the location of the debug header in the tutorial you linked to in your first post:

From the tutorial:

The SAMD21’s single-wire debug (SWD) port is broken out on the top side of the board as well, in case you want to program the chip with a JTAG debugger. The pinout of this port matches the 10-pin Cortex Debug connector standard. A white “notch” indicates pin 1 of this port.

Thanx bro!!! it finally worked!! :sweat_smile: :sweat_smile: :sweat_smile:
Throgh i must use wire to reset every time and it comes:

ORTS {COM1, COM3, } / {COM1, COM3, } => {}
PORTS {COM1, COM3, } / {COM1, COM3, } => {}
PORTS {COM1, COM3, } / {COM1, COM3, } => {}
PORTS {COM1, COM3, } / {COM1, } => {}
PORTS {COM1, } / {COM1, } => {}
PORTS {COM1, } / {COM1, COM8, } => {COM8, }
Found upload port: COM8
C:\Users\henry chen\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.7.0/bossac.exe -i -d --port=COM8 -U true -i -e -w -v C:\Users\HENRYC~1\AppData\Local\Temp\arduino_build_258030/_9DoF_Razor_M0_Firmware.ino.bin -R
Set binary mode
readWord(addr=0)=0x20007ffc
readWord(addr=0xe000ed00)=0x410cc601
readWord(addr=0x41002018)=0x10010305
version()=v2.0 [Arduino:XYZ] Dec 20 2016 15:36:39
chipId=0x10010005
Connected at 921600 baud
readWord(addr=0)=0x20007ffc
readWord(addr=0xe000ed00)=0x410cc601
readWord(addr=0x41002018)=0x10010305
Atmel SMART device 0x10010005 found
write(addr=0x20004000,size=0x34)
writeWord(addr=0x20004030,value=0x10)
writeWord(addr=0x20004020,value=0x20008000)
Device : ATSAMD21G18A
readWord(addr=0)=0x20007ffc
readWord(addr=0xe000ed00)=0x410cc601
readWord(addr=0x41002018)=0x10010305
Chip ID : 10010005
version()=v2.0 [Arduino:XYZ] Dec 20 2016 15:36:39
Version : v2.0 [Arduino:XYZ] Dec 20 2016 15:36:39
Address : 8192
Pages : 3968
Page Size : 64 bytes
Total Size : 248KB
Planes : 1
Lock Regions : 16
Locked : readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
readWord(addr=0x41004020)=0xffff
none
readWord(addr=0x41004018)=0
Security : false
Boot Flash : true
readWord(addr=0x40000834)=0x7000a
BOD : true
readWord(addr=0x40000834)=0x7000a
BOR : true
Arduino : FAST_CHIP_ERASE
Arduino : FAST_MULTI_PAGE_WRITE
Arduino : CAN_CHECKSUM_MEMORY_BUFFER
Erase flash
chipErase(addr=0x2000)
done in 0.874 seconds

Write 64972 bytes to flash (1016 pages)
write(addr=0x20005000,size=0x1000)
writeBuffer(scr_addr=0x20005000, dst_addr=0x2000, size=0x1000)

[= ] 6% (64/1016 pages)write(addr=0x20005000,size=0x1000)
writeBuffer(scr_addr=0x20005000, dst_addr=0x3000, size=0x1000)

[=== ] 12% (128/1016 pages)write(addr=0x20005000,size=0x1000)
writeBuffer(scr_addr=0x20005000, dst_addr=0x4000, size=0x1000)

[===== ] 18% (192/1016 pages)write(addr=0x20005000,size=0x1000)
writeBuffer(scr_addr=0x20005000, dst_addr=0x5000, size=0x1000)

[======= ] 25% (256/1016 pages)write(addr=0x20005000,size=0x1000)
writeBuffer(scr_addr=0x20005000, dst_addr=0x6000, size=0x1000)

[========= ] 31% (320/1016 pages)write(addr=0x20005000,size=0x1000)
writeBuffer(scr_addr=0x20005000, dst_addr=0x7000, size=0x1000)

[=========== ] 37% (384/1016 pages)write(addr=0x20005000,size=0x1000)
writeBuffer(scr_addr=0x20005000, dst_addr=0x8000, size=0x1000)

[============= ] 44% (448/1016 pages)write(addr=0x20005000,size=0x1000)
writeBuffer(scr_addr=0x20005000, dst_addr=0x9000, size=0x1000)

[=============== ] 50% (512/1016 pages)write(addr=0x20005000,size=0x1000)
writeBuffer(scr_addr=0x20005000, dst_addr=0xa000, size=0x1000)

[================= ] 56% (576/1016 pages)write(addr=0x20005000,size=0x1000)
writeBuffer(scr_addr=0x20005000, dst_addr=0xb000, size=0x1000)

[================== ] 62% (640/1016 pages)write(addr=0x20005000,size=0x1000)
writeBuffer(scr_addr=0x20005000, dst_addr=0xc000, size=0x1000)

[==================== ] 69% (704/1016 pages)write(addr=0x20005000,size=0x1000)
writeBuffer(scr_addr=0x20005000, dst_addr=0xd000, size=0x1000)

[====================== ] 75% (768/1016 pages)write(addr=0x20005000,size=0x1000)
writeBuffer(scr_addr=0x20005000, dst_addr=0xe000, size=0x1000)

[======================== ] 81% (832/1016 pages)write(addr=0x20005000,size=0x1000)
writeBuffer(scr_addr=0x20005000, dst_addr=0xf000, size=0x1000)

[========================== ] 88% (896/1016 pages)write(addr=0x20005000,size=0x1000)
writeBuffer(scr_addr=0x20005000, dst_addr=0x10000, size=0x1000)

[============================ ] 94% (960/1016 pages)write(addr=0x20005000,size=0xe00)
writeBuffer(scr_addr=0x20005000, dst_addr=0x11000, size=0xe00)

[==============================] 100% (1016/1016 pages)
done in 0.395 seconds

Verify 64972 bytes of flash with checksum.
checksumBuffer(start_addr=0x2000, size=0x1000) = ecb1
checksumBuffer(start_addr=0x3000, size=0x1000) = 5417
checksumBuffer(start_addr=0x4000, size=0x1000) = 3332
checksumBuffer(start_addr=0x5000, size=0x1000) = 3e80
checksumBuffer(start_addr=0x6000, size=0x1000) = 4e8c
checksumBuffer(start_addr=0x7000, size=0x1000) = bf2d
checksumBuffer(start_addr=0x8000, size=0x1000) = fc33
checksumBuffer(start_addr=0x9000, size=0x1000) = 9590
checksumBuffer(start_addr=0xa000, size=0x1000) = 77fb
checksumBuffer(start_addr=0xb000, size=0x1000) = 1b7b
checksumBuffer(start_addr=0xc000, size=0x1000) = 6003
checksumBuffer(start_addr=0xd000, size=0x1000) = 2635
checksumBuffer(start_addr=0xe000, size=0x1000) = f5b
checksumBuffer(start_addr=0xf000, size=0x1000) = 9359
checksumBuffer(start_addr=0x10000, size=0x1000) = 957c
checksumBuffer(start_addr=0x11000, size=0xdcc) = 87bd
Verify successful
done in 0.096 seconds
CPU reset.
readWord(addr=0)=0x20007ffc
readWord(addr=0xe000ed00)=0x410cc601
readWord(addr=0x41002018)=0x10010305
writeWord(addr=0xe000ed0c,value=0x5fa0004)

Well,it's done reseting,but i don't know if it's normal.
It was way more clean before. :stuck_out_tongue_closed_eyes: :stuck_out_tongue_closed_eyes:

You have probably enabled "show verbose output during upload" on IDE -> file -> preferences.

The output shows Verify successful so you're OK.

henry321yu:
Thanx bro!!! it finally worked!!

You're welcome. I'm glad to hear it's working now.

henry321yu:
Throgh i must use wire to reset every time and it comes:

That is unexpected. There should be some code running in the background that automatically resets when a 1200 baud serial connection is made (that's just an arbitrarily chosen signal used by Arduino for all the native USB boards). Sometimes, something will go wrong and that reset code will not get uploaded to the board. When that happens you need to manually reset the board for the first upload, but after that the code should again be running on the board and standard uploads should again be possible.

Does the problem still occur after you upload File > Examples > 01.Basics > BareMinimum? I'm wondering if the problem is something specific to some code you keep uploading.

sterretje:
You have probably enabled "show verbose output during upload" on IDE -> file -> preferences.

The output shows Verify successful so you're OK.

pert:
You're welcome. I'm glad to hear it's working now.
That is unexpected. There should be some code running in the background that automatically resets when a 1200 baud serial connection is made (that's just an arbitrarily chosen signal used by Arduino for all the native USB boards). Sometimes, something will go wrong and that reset code will not get uploaded to the board. When that happens you need to manually reset the board for the first upload, but after that the code should again be running on the board and standard uploads should again be possible.

Does the problem still occur after you upload File > Examples > 01.Basics > BareMinimum? I'm wondering if the problem is something specific to some code you keep uploading.

I've updated basic arduino code,but it still appear.
I used the same code like usual,which is official example code.

And now i got the new problem..
The imu start unfunctional.. like it even no operrating.
Power led is not light up..and usb is not connect as well.
Even when i use battery to power it up,it still not blinking.

But when i plugin the battery and usb(charging and connecting mode) ,the charging led will lights up and still not working through.
Battery isn't dead,it work well with other imu at the same time.

henry321yu:
I've updated basic arduino code,but it still appear.
I used the same code like usual,which is official example code.

That is strange.

henry321yu:
And now i got the new problem..
The imu start unfunctional.. like it even no operrating.
Power led is not light up..and usb is not connect as well.
Even when i use battery to power it up,it still not blinking.

But when i plugin the battery and usb(charging and connecting mode) ,the charging led will lights up and still not working through.
Battery isn't dead,it work well with other imu at the same time.

Sounds like bad news for your board. I wonder if you subjected the board to out of spec conditions and this damaged it enough to break the reset system (but still left it working enough to run sketches), then finally killed the board?

pert:
That is strange.
Sounds like bad news for your board. I wonder if you subjected the board to out of spec conditions and this damaged it enough to break the reset system (but still left it working enough to run sketches), then finally killed the board?

I think micro usb port on the IMU is dead.. oh well..