Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/01/09 08:22
Read: times


 
#162964 - You need a full size Keil C compiler
Responding to: ???'s previous message
Gary Peek said:
I'm finally getting around to playing with the Futurelec JR51USB board I got a while back. It is Atmel 89C5131A-IM based. I have successfully loaded the HID demo program usb_hid.hex, and it runs as expected. It is fairly easy to use with Atmel's FLIP.

OK, so where do I go from here? They don't even tell you what to use to compile or assemble the source for this demo so you can play with it. I have scoured the web for info and source code for this device, with little result.

Oh, and is it asking too much if anyone has some nice concise assembly language USB code instead of the C/asm source with so many files?

The C code is Compilable with Keil. This seems pretty clear to me ( with uVision project files ). However it is too large for the evaluation version.
You can compile it with the HiTech Evaluation compiler fairly easily. But again you will have to spend money on a commercial compiler to do anything worthwhile.

Which leaves "sdcc". It is free, will compile the code with a few mods, and you can use it for real applications.

Regarding ASM. Are you seriously proposing to write a USB application in assembler ? USB is fairly complicated to start with. There is third party AVR C code that may be a little simpler, but uses "features" everywhere. It would be a nightmare to port to an 8051.

Otherwise the chip is a regular 8051 with "deviations". It will run code compatible with other "deviants". It will program via FLIP, but you do not have to use the USB engine in your application. If you do, I suspect you will end up using C.

If you want help with an "sdcc" port of the Atmel code, just ask.

David.

List of 6 messages in thread
TopicAuthorDate
Futurelec JR51USB board, going beyond the demo            01/01/70 00:00      
   compilation/assembly            01/01/70 00:00      
   You need a full size Keil C compiler            01/01/70 00:00      
      which sources            01/01/70 00:00      
         To be honest, I cannot remember            01/01/70 00:00      
   Wickenhauser's compiler?            01/01/70 00:00      

Back to Subject List