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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/12/08 16:04
Read: times


 
#157438 - Existing building blocks helps
Responding to: ???'s previous message
No, I don't plan on writing everything. The goal of this thread is to figure out what existing software that may be used as building blocks.

But 2-4 weeks for a pre-study and then 3-4 months development time (excluding testing and documentation) is acceptable if the correct tools can be found.

I have done conceptual tests with a minimalistic byte-code interpreter just to verify that the target hardware can run multiple virtual machines, access data and produce meaningful results. But the language used was limited to only 32-bit integers - no structures or arrays. Writing a full front-end for C is totally out of the question. Writing a front-end for Pascal is possible.

I have at one time written a Mega88 emulator. I spent about a week for emulating the full instruction set, and one more week for timer, UART, RTC and SPI. I did that as a hobby project just because :)

But the wxWidgets GUI can be quite easily stripped, so modifying the code to run on the target hardware is not a big operation - there are about 100 lines of x86 assembler that would need to be replaced with C or ARM assembler. Modifying something like AVaRICE or avr-gdb to allow stimuli from a text file or from a serial link to the real hardware should not be a really big problem either.

Most probably, the AVR solution can be implemented to alpha state in less than a month. But it requires a closer look at licenses etc. But there are several other routes possible too.

List of 20 messages in thread
TopicAuthorDate
Virtual or existing architecture for emulation            01/01/70 00:00      
   Additional info about host/usage            01/01/70 00:00      
      How about MIPS?            01/01/70 00:00      
         VHDL            01/01/70 00:00      
            take a look at the content            01/01/70 00:00      
               I think 8 or 16 bit is optimum            01/01/70 00:00      
                  Maybe you should start with an ARM chip            01/01/70 00:00      
                     I2L sounds interesting            01/01/70 00:00      
                        It's probably best to check with the maintainers            01/01/70 00:00      
                           Doesn't seem to be a C to I2L            01/01/70 00:00      
                              The LLVM Compiler Infrastructure            01/01/70 00:00      
                              Since there's help available ...            01/01/70 00:00      
      With the low price of 8-bit single chip MCUs...            01/01/70 00:00      
         Slave processors not an alternative            01/01/70 00:00      
   Users            01/01/70 00:00      
      Probably debugging on PC            01/01/70 00:00      
         Are you really going to do that!            01/01/70 00:00      
            Existing building blocks helps            01/01/70 00:00      
               It hasn't been done for you but ...            01/01/70 00:00      
            When I was in school ...            01/01/70 00:00      

Back to Subject List