Search the web
Sign In
New User? Sign Up
leon_sparc · LEON SPARC
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
How to get my program onto Altera FPGA?   Message List  
Reply | Forward Message #1701 of 16507 |
Re: [leon_sparc] How to get my program onto Altera FPGA?

Quoting Shyam <mail_shyamkumar@...>:

> Someone please help me.
> I have synthesized LEON for Altera EP20K200EFC484 and also got it onto
> the device. I have written a C program to test out the hardware, but
> don't understand from the manual how to get this program onto the
> device. The manual says something about the PMON S-record loader and
> about how to convert applications into S-record streams. But what after
> that? How would my program get into the edf file during synthesis? Or is
> it that I have to get the S-record streams onto the device separately?
> If so, how to get that onto an Altera device?
> Someone please tell me about this.
> Thank you for your help.
> Shyam
>
>

Your LEON, fitted into your FPGA, will usually boot from its internal bootstrap
code called PMON bprom (see file pmon/bprom.c). The size of this bootstrap is
less than 1 KByte. This program does at power-up the following things:
- Initialization of registers PSR and WIM
- Initialization of I & D Caches
- Initialization of UARTs 1 & 2
- Initialiazation of Timer 1
- Configure RAM memory access (especially MEMORY Configuration Register 2)
o RAM bus width auto-detection
o Number of RAM banks auto-detection
o Determine the size of each RAM bank
- Initialization of the Stack pointer
- Display result of the AM auto-configuration on UART1
(write a string: e.g. LEON-1: 1*4096K 32-bit memory
- Wait for your downloaded S-Record program

To download your application program into LEON's RAM, use the "send file"
feature of terminals such as HyperTerminal or TeraTerm.

Good luck & Best Regards
The LEOX team

http://www.leox.org : Free Hardware and Software Resources for System-on-Chip



Thu Dec 6, 2001 8:32 am

lpm@...
Send Email Send Email

Forward
Message #1701 of 16507 |
Expand Messages Author Sort by Date

Someone please help me. I have synthesized LEON for Altera EP20K200EFC484 and also got it onto the device. I have written a C program to test out the hardware,...
Shyam
mail_shyamkumar
Offline Send Email
Dec 6, 2001
12:30 am

... Your LEON, fitted into your FPGA, will usually boot from its internal bootstrap code called PMON bprom (see file pmon/bprom.c). The size of this bootstrap...
The LEOX team
lpm@...
Send Email
Dec 6, 2001
8:32 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help