Program formula buggy with Sourceboost boostc

For Formula Flowcode Micromouse users to discuss projects, flowcharts, and any other issues related to the Formula Flowcode Micromouse.

Moderator: Benj

Post Reply
Sofie
Posts: 5
Joined: Wed Nov 28, 2012 2:05 pm
Contact:

Program formula buggy with Sourceboost boostc

Post by Sofie »

I want to program the formula buggy with Sourceboost (boostc) v7.01.
I set my linker option to -rb 0x800 and target to PIC18F4455.
This is my simple code :
#include <system.h>
void main()
{
trisd=0x00;portd=0;
while(1) portd=portd+1;
}
Compilation and linking in sourceboost works good.
Then i use buggyprog.exe to send the hex-file to my buggy. The sending starts, but at the end it says : "send Failed".

What am i doing wrong?
Sofie
Attachments
buggyleds2.hex
(84 Bytes) Downloaded 524 times
Last edited by Sofie on Wed Nov 28, 2012 10:23 pm, edited 1 time in total.

User avatar
DavidA
Matrix Staff
Posts: 1070
Joined: Fri Apr 23, 2010 2:18 pm
Location: Matrix Multimedia Ltd
Contact:

Re: Program formula buggy with Sourceboost boostc

Post by DavidA »

Hello Sofie,

Can you attach the hex file to a post so i can try send it to a buggy myself.

Sofie
Posts: 5
Joined: Wed Nov 28, 2012 2:05 pm
Contact:

Re: Program formula buggy with Sourceboost boostc

Post by Sofie »

Hello David, the attachment with the hexcode is uploaded in my first post
Attachments
buggyleds2.hex
(84 Bytes) Downloaded 544 times

User avatar
Benj
Matrix Staff
Posts: 15140
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Contact:

Re: Program formula buggy with Sourceboost boostc

Post by Benj »

Hello,

Please see this ECIO FAQ topic, the ECIO USB Driver power management workaround at the bottom should also work for the Formula Flowcode.

http://www.matrixmultimedia.com/support ... f=20&t=537

I have also tested your hex file here and it is working ok.

Sofie
Posts: 5
Joined: Wed Nov 28, 2012 2:05 pm
Contact:

Re: Program formula buggy with Sourceboost boostc

Post by Sofie »

Hello Ben,

I use the buggy to program the hex in the PIC18f4455. The hardware that is detected in my device manager is "Formula Flowcode Buggy" and not the ECIO module (I do not have this module).
When i use the "BuggyProg.exe" my buggy is recognized, but there is a error when i send my hex-file (sending flowcode hex-files works good).

Regards,

Sofie

User avatar
DavidA
Matrix Staff
Posts: 1070
Joined: Fri Apr 23, 2010 2:18 pm
Location: Matrix Multimedia Ltd
Contact:

Re: Program formula buggy with Sourceboost boostc

Post by DavidA »

Hi Sofie,

The ECIO and Formula Flowcode buggy have very similar firmware that works in the same way, so if you try the above method but simply replace 'ECIO' with Formula Flowcode, it might help your problem.

Sofie
Posts: 5
Joined: Wed Nov 28, 2012 2:05 pm
Contact:

Re: Program formula buggy with Sourceboost boostc

Post by Sofie »

Hi David,

I tried all the same as described for the ECIO device (including "the device manager and goto the power management tab -> untick the box that allows Windows to power down the device and click OK.") . It only works when i am sending een hex-file that is programmed with flowcode. So it doesn't work with my hex-file created in Sourceboost.

Post Reply