Just got my maple board (r5) up and running. It seems to be working fine (light flashing as documented). The problem I am having is that when I do an upload, it does not seem to execute the program uploaded (I have tried uploading a variety of the examples). If I go to the serial monitor and press a space bar, I always get the message "spacebar, nice! > ". I never seem to get the program I uploaded to work. I have tried resetting the board after an upload, but this doesn't give me any different results. What am I doing wrong, or what do I need to do in order to get it to execute the program I upload?
Startup problems(6 posts) (4 voices)
mvarey - when you uploaded the program, which did you choose on Tools -> Board -> ... ?
Did you put the program in RAM or FLASH?
I vaguely remember one always overriding the other.
If you unplug power (e.g. pull out the USB lead, or disconnect the external power supply if you have one), then put power back on, does it do the same thing?
A simple test is to upload the Blink program, once to FLASH and once to RAM, but change the delay (by a factor of 10) between each upload. If it doesn't change blink rate, then go through 'the ritual' (switch the power off, then on again).
(Full disclosure: I am not a member of LeafLabs staff.)
it works fine with my mac mini, but doesn't on my windows 7 machine. I installed the driver, but no luck so far.
I'd suggest just using the Mac Mini, but that probably wouldn't be too helpful.
I assume you are using Windows 7 (32 bit)?
I have watched a person struggle for a week with Windows 7 (64 bit) before giving up.
Anyway some threads for you:
'dfu-util' in the forums (the boot process is derived from the OpenMoko project which is Mac and Linux mostly http://wiki.openmoko.org/wiki/Category:Flashing_Openmoko)
The download program is reset.py in libmaple/support/scripts
Well, I am running Windows 7 (64 bit), and don't really have the time to fight with it, so I will just use the Mac Mini. Might just have to get a regular keyboard for it though since the little keyboard apple sells is just not suitable for development work.
XP startup for noobs like me (who get "can't find DFU errors" on upload using RET6)
(1) go into perpetual start up mode as described by LeafLabs;
(2) open ControlPanel/System/Hardware so you can see all the hardware devices; there should be a USB device with yellow exclamation marks indicating something is wrong;
(3) double-click on the bottom branch of this USB device to open the properties window;
(4) open the "Driver" tab on the properties window and click "update driver";
(5) follow the wizard until you can get it to install from "list or specific location"; click "browse";
(6) navigate to the folder where you downloaded the Maple files and find the driver folder(folder named "dfu" under "drivers"); at this point the "okay" button should change from grey and you can click it to install the driver. You should see "Maple" where the USB device with the (!) showed before.
(7) make sure you are still in perpetual bootload
(8) upload sketch to RET6-flash (ram doesn't seem to work)
(9) repeat 7 and 8 each time you need to upload.
You must log in to post.