Main Menu

Programing HEX file

Started by Simon, May 11, 2004, 08:47:11 AM

Previous topic - Next topic

Simon

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

erikm

Then I try to write in bascom 8051
What is the program size from bascom (basic?)

Erik

Simon

I find my problem. I did not defenire pins in output mode. Now work perfect.
I don't understand your question??? Size of program?


erikm

>>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