Jump to content

  • Log In with Google      Sign In   
  • Create Account

Step by step ARM emulator


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
4 replies to this topic

#1 assainator   Members   -  Reputation: 685

Like
0Likes
Like

Posted 10 June 2014 - 12:36 PM

Hello everyone,

 

I'm writing an ARM backend for a compiler construction course and I've been searching for an ARM emulator that lets me step through my generated code instruction by instruction showing me the values of the registers.

 

All the emulators and simulators I've found are aimed at running full applications and/or operating systems as fast as possible but they don't offer the features I'm looking for.

 

Examples of what I'm looking for:

http://courses.missouristate.edu/kenvollmar/mars/ -- An emulator for MIPS

https://github.com/atzedijkstra/ssm -- An emulator for the SSM architecture.

 

Does anybody know of any emulators that have the features I'm looking for?

 

Thanks a lot in advance for any help.



Sponsor:

#2 Bregma   Crossbones+   -  Reputation: 5469

Like
1Likes
Like

Posted 10 June 2014 - 01:05 PM

Perhaps a combination of QEmu and GDB might work?


Stephen M. Webb
Professional Free Software Developer

#3 Promit   Moderators   -  Reputation: 7622

Like
0Likes
Like

Posted 10 June 2014 - 02:07 PM

I don't have any hands-on experience but what about this?

http://ds.arm.com/



#4 DvDmanDT   GDNet+   -  Reputation: 995

Like
0Likes
Like

Posted 10 June 2014 - 04:43 PM

It would probably be fairly easy to create an instruction interpreter for some specific ARM architecture. For your particular purpose, that would probably be enough, but for most purposes you would need to simulate a lot more (peripherals in particular). For that to be useful, you typically also need it to run at a decent speed and so on. I've also heard rumors about legal issues with ARM in particular.

 

Edit: You might want to google Trace32. It's made for something completely different, but last time I checked they hade downloadable simulator versions for evaluation which just might cover your needs.


Edited by DvDmanDT, 10 June 2014 - 04:45 PM.


#5 assainator   Members   -  Reputation: 685

Like
0Likes
Like

Posted 11 June 2014 - 03:23 PM

Thanks for the input. I remembered that I still had a Raspberry Pi around, so I'm currently using it in combination with gdb.


"What? It disintegrated. By definition, it cannot be fixed." - Gru - Dispicable me

"Dude, the world is only limited by your imagination" - Me





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS