Bare Metal i.MX28 Begginers Guide

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Bare Metal i.MX28 Begginers Guide

2,518件の閲覧回数
mfeinstein
Contributor II

Hi,

I am creating a new project with the i.MX28 and I don't want to use a Linux OS with it. Why? Well this is meant to be a really small board and adding the extra RAM chip for the minimum RAM requirements of the Linux BSP will take lots of space in it, and the Linux BSP as far as I know takes some 15 seconds to boot, and I want a device that can boot instantly. I could maybe use some RTOS, but most aren't free (honestly I don't even know the prices) and I don't know which free RTOS will really suit my needs (pros and cons have to be evaluated for this project, and for this I will need to know more about the RTOS, and I confess I don't know much about them...and I am not so sure how they are different from a Bare Metal configuration, since most RTOS AFAIK are really simple stuff not related to a Linux BSP, but I can be wrong on this) and why to really use it. My code is kinda simple so I believe an OS won't do much to help.

I can find some Application Notes and tutorials about how to create Linux images for the i.MX28, but I can't find anything on Bare Metal programming. As far as I can see I have to set up the High Assurance Boot (in case I have any protections in my code) and the internal Power Module Unit and then I can run my code....but the steps for doing this all together (and any other steps that I have not anticipated) are vague and I feel kinda lost and afraid of doing things wrongly and maybe damaging the chip.

I have experience with AVRs and PICs, which are pretty simple to run software (you just have to plug the programmer and run your code directly from your IDE) and this is my first project using ARMs and i.MX processors, which are way more complicated than that.

I have an i.MX28 EVK board, so this mostly assures any problems I can have during the development are related to software.

I appreciate all the help!!!

ラベル(1)
0 件の賞賛
返信
4 返答(返信)

2,049件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Michel

one can look at

IMX_OBDS : On-Board Diagnostic Suit for the i.MX28.

AN4199 Using the i.MX28 Power Management Unit and Battery Charger

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信

2,049件の閲覧回数
mfeinstein
Contributor II

Tomorrow I will take a look at the OBDS files...but I have already read the AN4199 "Using the i.MX28 Power Management Unit and Battery Charger"...the problem I have is how to compile all this together in one piece of software. I understand the way the PMU works...I kinda understand the way the HAB works, but I just can't see myself clicking in the "debug" button and all of the code being automatically being downloaded to the chip, running and stopping at breakpoints...all the docs I have read show so many tools to sign, compress, export and etc and it appears to be quite cumbersome to just run a simple "hello world"...am I wrong? It kinda seems like a nightmare if I just want to program and test tiny bits of code at a time....

0 件の賞賛
返信

2,049件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Michel

i.MX28 is definitely more complex processor,

it may be recommended just to start checking OBDS examples.

~igor

0 件の賞賛
返信

2,049件の閲覧回数
mfeinstein
Contributor II

I just downloaded it, tomorrow morning I will take a better look at it...just be aware the link isn't downloading automatically but fortunately the "direct link" option worked...thanks a lot, I will reply as soon as I have new questions :smileyhappy:

0 件の賞賛
返信