Replies: 3 comments 16 replies
-
Hi @lrustand, Something really weird is happening here. It looks like the Snap isn't responding to Bloom, at all. When Bloom sends a command to the Snap, it waits 15 seconds for a response (which is more than enough - in most cases the Snap responds in <1 second). Looking at the timestamps in that log (11:18:25 -> 11:18:40), the 15 second difference suggests that the timeout is being reached, and we're not getting any response. I suspect the Snap is in a weird state. Did you run any other program that would interface with the Snap (MPLAB IPE, AVRDUDE, etc) after connecting the Snap via USB but before running Bloom? Can you please try the following:
Does it get a little further this time? Does it report However, if it reports the same
This will help me understand what's going on. Additionaly, it would be good to know if MPLAB IPE can interface with the Snap, so please try the following:
If MPLAB IPE can interface with the Snap, it should complain about target voltage being too low, or not being able to find the selected target (because the Snap isn't connected to any target). Please post the MPLAB IPE output here, so I can see if it was able to interface with the Snap. If MPLAB IPE is not able to properly interface with the Snap, then that would suggest an issue with the Snap firmware. Finally, are you doing anything with Thanks, |
Beta Was this translation helpful? Give feedback.
-
That log confirms my suspicion that Bloom isn't able to talk to the device at all.
Ok, what about AVRDUDE? Can you try reading fuses via AVRDUDE and the Snap? AVRDUDE 7.1, which was released a few days ago, supports Snap with the JTAG physical interface. You can download a Linux x86_64 binary of AVRDUDE from one of the automated builds (be sure to place the avrdude.conf file in Please post the output of AVRDUDE here. If it also fails, then there's likely something wrong with the Snap's firmware. |
Beta Was this translation helpful? Give feedback.
-
Seems like your latest fix worked like it should, now it recognises the Snap connects to the Mega, but it segfaults after starting the GDB server.
I have attached the core file. It seems to have crashed in something Qt related. I wish there was some way to build without insights, because I do not need it and it feels like a massive bloat. I saw that there was someone that opened an issue for this previously and that you closed it as |
Beta Was this translation helpful? Give feedback.
-
Hi, I am trying to use Bloom to debug an Arduino Mega 2560 using a MPLAB Snap, but I am not able to get it to work. I keep getting the following error:
I have enabled the JTAG and OCD fuses on the Mega and have verified that the Snap is in AVR mode. I have the correct permissions to use the
/dev/ttyACM0
. What could be wrong?EDIT: added below information:
Contents of bloom.yaml:
Contents of fuses on Mega:
Output of
lsusb | grep -e "Atmel" -e "Microchip"
:Beta Was this translation helpful? Give feedback.
All reactions