i.MX 28 EVK IDE AND SAMPLE CODES..???

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX 28 EVK IDE AND SAMPLE CODES..???

Jump to solution
2,475 Views
elinarajan
Contributor I

Hai All,

m currently studying i.MX28 EVK for a project in a company and they provided me with this EVK. Can any one suggest an IDE supprting  this freescale processor and also few applications( SAMPLE CODES) to try in it..? as part of my studies i need to come up with simulations as final output... its been a very long time i have been searching out for all this and seems to be quite difficult..

Labels (1)
Tags (1)
0 Kudos
1 Solution
1,478 Views
samsaprunoff
Contributor V

Good day Yuri,

Just a heads up in that the IAR sample code for the i.MX28 is for a dev kit that is non existent... or maybe  a very early/preliminary version of the dev kit that Freescale now offers.  The biggest difference is that the one referenced in the IAR tools has completely different DDR and so you have to modify the project's DDR initialization routine.  This in itself is not too difficult, as one can look to the OBDS code for the correct DDR initialization.

Cheers,


Sam

View solution in original post

0 Kudos
7 Replies
1,478 Views
elinarajan
Contributor I

Hai all,

Thanks alot for all your replies.... I got my application confirmed for Mini Project.... Its to read values from a temperature sensor(LM75B) and to store in DDR2 memory and display the results through UART to PC.. The communication between the processor and LM75B is through I2C....!!... I

M totally new to the processor and now i have collected a lot datasheets related to each ...

I planning to write C code in IAR for each Module.... But i feel the programs i collected seems to be not supported in IAR .....!!:smileyconfused:

So my doubt is do i have to change the IDE (maybe Eclipse)..??

i have no idea how to get program for temperature sensor using I2C and run in i.MX processor

since i have to store in DDR2 memory....??:smileysad:....

does the DDR2 test code in the OBDS package be helpful for this application.../?

please i badly need help.. as am stuck.... no idea how to proceed...?/:smileyplain:..

ELINA...!!

0 Kudos
1,478 Views
JorgeRama_rezRi
NXP Employee
NXP Employee

Hi Elina,

I have the attached ADC test. It's very simple, it just takes samples of the different ADC channels and displays the results through the UART interface. You can flash it into an SD card and boot from it. I haven't run it through JTAG, but I think you should be able to do so with the axf image.

Hope this helps!

Best regards.

Jorge.

0 Kudos
1,478 Views
Yuri
NXP Employee
NXP Employee

1.
At least as first step one can use Code Sourcery GNU toolchain (free Lite edition)

http://www.mentor.com/embedded-software/sourcery-tools/sourcery-codebench/editions/lite-edition/

If advantages of free Eclipse open-source Integrated Development Environment

(IDE) are needed, there is relevant plugin for ARM.

http://www.eclipse.org

http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release

http://sourceforge.net/projects/gnuarmeclipse/



Also You may apply to IAR Workbanch - KickStart editon (size-limited evaluation license).
It contains example for i.MX28 too.

https://www.iar.com/Service-Center/Downloads/

2.
As code examples so called OBDS package may be useful.

https://www.freescale.com/webapp/Download?colCode=IMX_OBDS&appType=license&location=null

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MCIMX28EVKJ&fpsp=1&tab=Design_Tools_T...

1,479 Views
samsaprunoff
Contributor V

Good day Yuri,

Just a heads up in that the IAR sample code for the i.MX28 is for a dev kit that is non existent... or maybe  a very early/preliminary version of the dev kit that Freescale now offers.  The biggest difference is that the one referenced in the IAR tools has completely different DDR and so you have to modify the project's DDR initialization routine.  This in itself is not too difficult, as one can look to the OBDS code for the correct DDR initialization.

Cheers,


Sam

0 Kudos
1,478 Views
elinarajan
Contributor I

Ur suggestions and links were so helpful in taking me forward..... now i chose IAR EWM for ARM...

Some applications that i could try out i got.....

Can u help me out how to configure ADC And UART in i.MX28 EVK....

there are a lot of registers related to these .. seems to be quite tuff and confusing ..:smileysad:

Any links or pdf's related to this.... pls pls forward it .... it would be helpful...!

0 Kudos
1,478 Views
Yuri
NXP Employee
NXP Employee

The mentioned OBDS package contains UART and touchscreen tests, that may be used as examples.

0 Kudos
1,477 Views
elinarajan
Contributor I

Hai,,

i tried to configure internal ADC as ma  mini project.... but since its a module wtihin the EVK... ma topic got rejected wen it was presented....:smileyshocked:... it was to to display the user key pressed in the EVK through the ADC and show the status in PC thro UART..... !!!

Now i really need an application to try in this i.MX28 EVK for mini project...other than internal Modules (OBDS package TEST)...

please can u help me out... something like..External memory interfacing with the EVK (perform some operations internally) and finally display the output through  UART to LCD/PC...!!!

0 Kudos