Flash Magic Forum

Archive => Old Topics => Topic started by: Simon on May 11, 2004, 08:47:11 AM

Title: Programing HEX file
Post by: Simon on May 11, 2004, 08:47:11 AM
Hi
I don't know it this is right forum fot this, but, meby someone know.
First I write some small program in uVision (C) and program LPC932 without problem. Then I try to write in bascom 8051 (witch I know better). On simulator program work perfect. Of corse I made .DAT file for this chip (hope right). I program chip with flash magic. Chip not responde. Like empty, but it is programed well!. I use inter RC oscilator and inter reset. Must somewhere in bascom "write" this options, or it is OK, if I just select on flash magic?

TNx on your help
Simon
Title: Re: Programing HEX file
Post by: erikm on May 11, 2004, 10:31:17 AM
Then I try to write in bascom 8051
What is the program size from bascom (basic?)

Erik
Title: Re: Programing HEX file
Post by: Simon on May 13, 2004, 08:10:38 AM
I find my problem. I did not defenire pins in output mode. Now work perfect.
I don't understand your question??? Size of program?

Title: Re: Programing HEX file
Post by: erikm on May 13, 2004, 11:51:15 AM
>>I don't understand your question??? Size of program?<<
I tend to recall that BACOM is BASIC and BASIC programs take more space than assembler code.  After all, the 932 has only 4k.

Erik