-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to upload Blink to MAX32620FTHR board #3
Comments
@technoblogy We're looking into this issue. Do you see a mass storage drive named 'BOOTLOADER' or 'DAPLINK'? If yes, can you try to do the following:
|
Thank you for your reply.
It's definitely plugged in properly. What do you mean by "enumerated"?
Yes, BOOTLOADER.
That works fine. |
(Sorry, clicked the wrong button.) |
I uploaded a Blink example on MAX32620FTHR on Mac OS Mojave running Arduino 1.8.5. Everything worked as expected. Would you mind trying it on a different computer?
This is a Serial (COM) port, not a USB mass storage port. When you connect using the Native USB port and see a BOOTLOADER drive, there won't be any Port available. If you connect using a MAXDAP adapter and see a DAPLINK drive, you should see a Port available. |
Checked again. Here's what happens: Plug in the board. The Blink sketch uploaded via the exported .bin file runs, the LED flashes slowly, and I get /dev/cu.usbmodem1411 on the Port menu. Hold down the Boot button, press and release the Reset button, and release Boot. The LED is now on steadily. /dev/cu.usbmodem1411 has disappeared from the Port menu. Select Upload. I get the error:
and the Arduino IDE hangs on Uploading... If I can get hold of another Mac I'll try it on that. |
I've now successfully run my Lisp interpreter for microcontrollers, uLisp, on the MAX32620FTHR: uLisp - Lisp for microcontrollers I uploaded it via the exported .bin file, and communication via the Arduino IDE's Serial Monitor works nicely. I have a few questions about using the Arduino IDE with the MAX32620FTHR. Should I ask them here, or would it be better to email them directly to someone? |
I've contacted you via your uLisp email ID. |
I have the same problem on my Mac: If I try to upload an Arduino sketch (1.8.5) the IDE hangs during upload. I did it using DAPLink and board 'MAX32620FTHR (Programming Port)'. After a while I got the message 'Upload finished' but the max32620fthr wasn't programmed. I even tried using 'Upload using Programmer' without success. I did the same with Arduino IDE 1.8.5 on a PC running Windows 7 and it worked. Would you please look after this issue because I usually use a Mac and it isn't possible to program max32620fthr using Arduino IDE on it. |
...message during 'hanging' of the IDE: Searching for Maxim board in /Volumes Uploading the sketch using the PC overwrites the bootloader. Re-burning bootloader can be done with PC but not with Mac. Bootloader Version: 0242 |
@SchneHa I'm not sure if I understand your problem exactly. I don't see any issue with the message "Searching for Maxim board in /Volumes" on Mac for uploading a sketch. The MAX32620FTHR can be programmed in 2 ways, have you looked into this?
I'll double check this. |
@khariya yes, it’s exactly the same problem. I see the message and the uploads stucks. After a while the upload seems to be finished but the message is still there and the upload didn’t succeed. Programming and burning bootloader using a PC works well but programming overwrites the bootloader. After burning bootloader again I can see the volume ‚Bootloader‘ and drag the .bin file to it but thereafter bootloader is overwritten again. I know the document the link refers to. But it isn’t how it is described. I can’t set the board into boot mode by holding down Boot button and releasing Reset button. And dragging a file to ‚Bootloader‘ overwrites the bootloader on the board as I wrote. |
@SchneHa I just tried the "Burn Bootloader" feature in the following environment: It works fine with the instructions mentioned here. Can you provide the steps to reproduce the issue your facing? Please include the connections of the board(s). If you get the "Upload Finished" message on IDE at some point, then I don't see where it gets stuck. |
This doesn't work with the board I have! If pressing Boot button and releasing after pressed Reset button, the board starts into the same mode as previous, I see BOOTLOADER volume in Finder and have no serial port to flash using native USB port. That's exactly the same on PC and Mac. Something seems to be wrong with the flashed bootloader 0242. |
When you connect using the Native USB port and see a BOOTLOADER drive, there won't be any Serial Port available. In order to Program with Native USB Port you don't need a Serial(COM) port to select under Tools->Port When you see a BOOTLOADER volume, you should be able to upload a sketch, after selecting MAX32620FTHR(Native USB Port).
When programming via Native USB Port, disconnect the MAXDAP adapter from MAX32620FTHR (ribbon cable connection) and from host machine. Only MAX32620FTHR is connected and BOOTLOADER drive is available. |
I did it without any other circuitary and got the same IDE message as I posted above. But the sketch wasn't uploaded. The board doesn't as it should (as flashed with DAPLink on PC). |
On a PC flashing over native USB port worked, but bootloader is overwritten after flashing. On a Mac there is no success! |
If you picked Board->MAX32620FTHR(Native USB Port) and then uploaded a sketch to the BOOTLOADER drive, it won't override the bootloader on the board. No LED will flash when uploading to this drive. The drive will disappear and your application will start running.
Now you'll be able to see the BOOTLOADER drive again. At this point, you are ready to upload another sketch. If you're doing something different then above mentioned steps or in that order. Please provide the exact steps with connections to boards so I can recreate the issue. |
Here's a more detailed description of what happens for me with a MAX32620FTHR board on a Mac (macOS High Sierra) with the latest Arduino IDE and Maxim Arduino core: Versions installed:Arduino IDE version 1.8.7 Attempt 1
No LEDs are lit. Error pane displays:
and it gets stuck on Uploading... Attempt 2Quit from Arduino IDE and try again: Repeat above sequence but this time first do:
This time the red LED is lit steadily.
But exactly the same error as before, and stuck on Uploading... Attempt 3Tried the instructions for Restoring the bootloader:
I now get:
|
Thanks, @technoblogy! |
@khariya Thank you, now I see a bit clearer. Yes, I mean 'uploading a sketch' (flashing). |
@technoblogy do you know what type of file system you're using on your Mac? Is it APFS? |
Yes, APFS. |
My filesystem is HFS+ and I have exactly the same problem. |
Isn't there any solution of this problem? |
@khariya Did you look after the problem? Isn't it solved yet? |
@SchneHa I apologize, I haven't been able to work on it for a while now due to other priorities. |
@khariya Maybe the issue is because MacOS isn't able to run a batch file? Look at |
I've found the issue. I'll be releasing an update soon. |
@SchneHa @technoblogy Fixed in version 1.1.5 |
Thank you! I have upgraded to 1.1.5 and confirm that I have been able to upload Blink to the MAX32620FTHR via USB. |
Thanks for the feedback! |
I can confirm, too. Thank you very much, after updating to version 1.1.5 it works very smooth. |
Good to hear that. Thanks for your feedback! |
I've just received a MAX32620FTHR board and I'm trying to develop an application for it, but I don't even seem to be able to successfully upload Blink to it.
I'm using Arduino IDE 1.8.5 on a Mac (High Sierra) and am following the instructions here:
https://github.com/MaximIntegratedMicros/arduino-max326xx/wiki/MAX32620FTHR#programming-the-max32620fthr
I've tried with the Native USB Port, and the Arduino IDE just hangs up at the "Uploading..." stage. Note that there's no USB port option available on the Tools->Port menu, which is suspicious.
I've also tried with the Programming Port, connecting the MAXDAP adapter to the MAX32620FTHR board, and both boards to the Mac via USB cables. Again, the Arduino IDE just hangs up at the "Uploading..." stage.
I hope someone can help me get started!
The text was updated successfully, but these errors were encountered: