Sign In

Don't have a Xilinx account yet?

  • Choose to receive important news and product information
  • Gain access to special content
  • Personalize your web experience on Xilinx.com

Create Account

Username

Password

Forgot your password?
XClose Panel
Xilinx Home
Reply
Regular Visitor
bhavin.max
Posts: 31
Registered: ‎07-07-2011
0

Re: SDK ERROR WHILE DEBUGGING

Hi All !!!!!!!!!!!!

       my device is : : SPARTAN 3 xc3s400 pq208 -5.

And board is customize; so its crystal clk is of 40MHZ.

As i am working on EDK using  SPARTAN 3 Device simultion is not supported.So i am not able to verify my design functonality.

I have added timer but not in used.I simply want to run "helloworld" application.and want to debug on hyperterminal.

but when i program from sdk by giving path to .BIT file And .BMM file.

and run debug as

giving a path to "helloworld.elf" File.

 

nothing is display on hyperterminal.

Expert Contributor
hgleamon1
Posts: 873
Registered: ‎11-14-2011
0

Re: SDK ERROR WHILE DEBUGGING

As i am working on EDK using  SPARTAN 3 Device simultion is not supported

 

OK, I understand this. Is it possible to use Chipscope to view the critical signals?

 

but when i program from sdk by giving path to .BIT file And .BMM file and run debug as giving a path to "helloworld.elf

 

Have you got past the "microblaze in reset" error? If not, can you verify the operation of the external reset on your custom board IN HARDWARE? Can you look at this signal with an oscilloscope - may be even take a screenshot and attach it here?

 

nothing is display on hyperterminal

 

Is the serial port protocol between the UART and Hyperterminal correct? Does the BSP allow the microblaze to output to the UART?

 

Regards,

 

Howard

 

----------
"That which we must learn to do, we learn by doing." - Aristotle
Regular Visitor
bhavin.max
Posts: 31
Registered: ‎07-07-2011
0

Re: SDK ERROR WHILE DEBUGGING

Hi All !!!!!!!!!!

         I dont have the license for chipscope pro.

i just want to ask u whether i need to code for the connection of RS 232 to allow the data to flow from fpga to hyperterminal.

As i simply want to run the inbuilt program i.e " hello world".what are the requirements i need to have in my design.

 

Another thing is when i am bulding my design in BSB it will ask for reset polarity.

whether i should put active or active high?

 

 

regard's

Max.

 

 

 

Expert Contributor
hgleamon1
Posts: 873
Registered: ‎11-14-2011
0

Re: SDK ERROR WHILE DEBUGGING

I dont have the license for chipscope pro

 

OK

 

i just want to ask u whether i need to code for the connection of RS 232 to allow the data to flow from fpga to hyperterminal

 

I don't believe you need any "code" (that should of course be in the Hello World app itself) but you do need a UART built into your system and connected to the PLB. This UART will then have parameters (e.g. 9600 baud, 8 bits, no parity, etc.). In your BSP settings (in SDK), you will need to make sure that the configuration for the OS (probably standalone) sets stdin and stdout to be the UART that you have in your system.

 

Does this make sense? When you connect a serial cable from your custom board to your PC, the Hyperterminal will obviously need to have the same parameters as the UART.

 

Another thing is when i am bulding my design in BSB it will ask for reset polarity. whether i should put active or active high?

 

That is entirely dependent on what polarity your external reset has. What polarity is the reset on your custom board? Can you confirm that your external reset on your custom board operates in the way that you expect?

 

Regards,

 

Howard

 

 

 

----------
"That which we must learn to do, we learn by doing." - Aristotle
Regular Visitor
bhavin.max
Posts: 31
Registered: ‎07-07-2011
0

Re: SDK ERROR WHILE DEBUGGING

Hi All !!!!!!!!!

             Thanks for the suggestions ..........

Can u please give me the steps to run the simple "hello world " apllication in edk?

 

PLease !!! Because that will help me to verify my design where am i gone wrong........

 

Requirment is ::

IN XPS   :: I just want to create a simple design in bsb which may have switches ,leds.timer as an interrupt....

IN SDK :: I just want to run a simple inbuilt program of "helloworld " application.

 

please help me regarding this............

 

Expert Contributor
hgleamon1
Posts: 873
Registered: ‎11-14-2011
0

Re: SDK ERROR WHILE DEBUGGING

You should really familiarise yourself with the following (targeted to EDK 13.4):

 

SDK help

 

XPS help

 

I can't really spend the time detailing step-by-step instructions for what you are trying to do, especially as ALL of this information is readily available right here, on the Xilinx website, or within the help sections of the tools.

 

Regards,

 

Howard

 

----------
"That which we must learn to do, we learn by doing." - Aristotle
Regular Visitor
bhavin.max
Posts: 31
Registered: ‎07-07-2011
0

Re: SDK ERROR WHILE DEBUGGING

Hi All !!!

     Thanks for the documents.......howard..