Page 1 of 1

MOJO communication problems

Posted: April 27th, 2018, 4:24 pm
by mbalestrini
I'm having problems trying to program the MOJO V3. I haven't being using it in a while, but the last time I remember it was working.

Whenever I try to program or erase it I get these errors:

Program Mojo (Flash):
Connecting...
Erasing flash...
Error: Port name - COM14; Method name - readBytes(); Serial port operation timeout (2000 ms).


Erase Mojo (after trying programming)
Connecting...
Erasing...
Error: Port name - COM12; Method name - readBytes(); Serial port operation timeout (10000 ms).


I don't remember if the was one or more debug LEDs on the board, but nothing turns on.

The board appears in the Windows Device Manager as:
--Port (COM & LPT)
----Mojo V3 (COM14)




The firmware update process seems to be working:
Resetting into bootloader mode...
Programming Mojo on COM13

Connecting to programmer: .
Found programmer: Id = "CATERIN"; type = S
Software Version = 1.0; No Hardware Version given.
Programmer supports auto addr increment.
Programmer supports buffered memory access with buffersize=128 bytes.

Programmer supports the following devices:
Device code: 0x44

avrdude.exe: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude.exe: Device signature = 0x1e9587
avrdude.exe: NOTE: "flash" memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude.exe: erasing chip
avrdude.exe: reading input file "C:\Program Files\Mojo IDE\library\firmware\mojo-v3-loader.hex"
avrdude.exe: writing flash (8470 bytes):

Writing | ################################################## | 100% 0.73s

avrdude.exe: 8470 bytes of flash written
avrdude.exe: verifying flash memory against C:\Program Files\Mojo IDE\library\firmware\mojo-v3-loader.hex:
avrdude.exe: load data flash data from input file C:\Program Files\Mojo IDE\library\firmware\mojo-v3-loader.hex:
avrdude.exe: input file C:\Program Files\Mojo IDE\library\firmware\mojo-v3-loader.hex contains 8470 bytes
avrdude.exe: reading on-chip flash data:

Reading | ################################################## | 100% 0.20s

avrdude.exe: verifying ...
avrdude.exe: 8470 bytes of flash verified

avrdude.exe done. Thank you.

Finished flashing.





Is there anything else I can try to see if there is something wrong with the board?

Re: MOJO communication problems

Posted: May 9th, 2018, 11:45 am
by embmicro
What OS are you using (looks like Windows, but is it 10?) are you running it in a VM?

You shouldn't have to flash the firmware but it won't hurt.

Re: MOJO communication problems

Posted: May 14th, 2018, 8:05 am
by mbalestrini
I'm running Windows 7

The firmware update was just to test some other communication channel with the device. That seems to work (at least from the messages the app returns), but I can't program it.