Mega1280 Programming problems also want to program BASCOM

General discussion on mikroBasic for AVR.
Post Reply
Author
Message
democracyman
Posts: 3
Joined: 17 Jun 2008 19:54

Mega1280 Programming problems also want to program BASCOM

#1 Post by democracyman » 19 Jun 2008 22:13

Hello,
The mega1280 mcu will not work correctly with the meg128 example
for blinking led BUT the mega16 mcu example for blinking led will work
correctly!!! I also modified the mega16 blinking led example and was
able to get all the led's to blink.

Very strange??

I will now work to see if I can use Bascom programming language.


I think the MikroElektronika team should consider getting license or collaboration with MCS electronics better known as BASCOM to use
with their boards. MikroElektronic seem to have a very good set of
development boards but the software is nothing like Bascom, at least
use Bascom for the AVR boards. Your sales would sky rocket... Seriously
consider it.


Any ideas on how to input a bascom program? I think I would just have
to put in the hex file into the AVR Flash and upload it. I hope it is that
simple.

Dan

JohannesH
Posts: 68
Joined: 23 Apr 2007 07:51

#2 Post by JohannesH » 20 Jun 2008 08:23

Hi Dan!
Any ideas on how to input a bascom program? I think I would just have
to put in the hex file into the AVR Flash and upload it. I hope it is that
simple.
Yes, that should work.
But be careful because of a long time existing bug in AVRFlash Utility: Even if you have disabled programming the fuse bits in fact they get programmed when flashing the program into the device. And if you have not set the fuse bits correctly you may run into trouble.

Regards
Johannes

democracyman
Posts: 3
Joined: 17 Jun 2008 19:54

#3 Post by democracyman » 22 Jun 2008 17:23

Yes I got it to work, just use the External Programmer setting in bascom

For Programmer use

"C:\Program Files\Mikroelektronika\AVRFLASH\AVRFLASH.exe"


For Parameter I used

C:\documents and Settings\adminstrator\my documents\bascom programs\

I checked the hex file box.

AS I understand it. Parameter means the location of where you
have your program. So you put in the exact location of where your
program is after you compile it. You only want to send the hex file
to program so you check this box.

So bascom sends your program out to the AVRFlash programmer made
by mikroelectronika and there you just push the write button and the
program is loaded in. This is how it works for me. I also got the
GLCD working using bascom. Now I am working on getting the touch
screen going and the 12 bit AD converter going using bascom.

So far it is programming fine.

Dan

Post Reply

Return to “mikroBasic for AVR General”