iMX6ULL DRAM-less operation

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

iMX6ULL DRAM-less operation

Jump to solution
772 Views
blueskull
Contributor I

Greetings community, 

Is there a way to use ONLY the internal 128KB OCRAM without DRAM at all with iMX6ULL?

I know there's a patch for SDK 1.1, but that's only for other iMX6 devices, and the makefile structure of SDK 1.1 is quite different from the current SDK 2.2.

Therefore, is there a way to use only OCRAM with iMX6ULL and SDK 2.2?

Also, what amount of available RAM can I expect from OCRAM-only operation (how much OCRAM must be allocated to non-user accessible functions, such as L1 map)?

Thanks in advance, 

Bo Gao

Labels (2)
Tags (1)
1 Solution
583 Views
art
NXP Employee
NXP Employee

Q. Is there a way to use ONLY the internal 128KB OCRAM without DRAM at all with iMX6ULL?

A. Of course, you can use a small OS-less applications running in OCRAM only not using DRAM. However, the functionality of such applications seems to be very limited due to small amount of memory available. On the other hand, it is possible to run the code directly from, for example, external parallel NOR flash using the External Memory Interface module and use OCRAM for stack/data only. The limitations here are: 1) relatively slow EIM operation and 2) relatively small address space of up to 128MBytes.

Q. Therefore, is there a way to use only OCRAM with iMX6ULL and SDK 2.2?

A. There is no ready-to-use path for SDK 2.2 to use such DRAM-less OCRAM-only environment. A custom memory map files should be created.

Q. Also, what amount of available RAM can I expect from OCRAM-only operation (how much OCRAM must be allocated to non-user accessible functions, such as L1 map)?

A. In such a small bare metal applications, everything including memory resources is under user control.


Have a great day,
Artur

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

View solution in original post

1 Reply
584 Views
art
NXP Employee
NXP Employee

Q. Is there a way to use ONLY the internal 128KB OCRAM without DRAM at all with iMX6ULL?

A. Of course, you can use a small OS-less applications running in OCRAM only not using DRAM. However, the functionality of such applications seems to be very limited due to small amount of memory available. On the other hand, it is possible to run the code directly from, for example, external parallel NOR flash using the External Memory Interface module and use OCRAM for stack/data only. The limitations here are: 1) relatively slow EIM operation and 2) relatively small address space of up to 128MBytes.

Q. Therefore, is there a way to use only OCRAM with iMX6ULL and SDK 2.2?

A. There is no ready-to-use path for SDK 2.2 to use such DRAM-less OCRAM-only environment. A custom memory map files should be created.

Q. Also, what amount of available RAM can I expect from OCRAM-only operation (how much OCRAM must be allocated to non-user accessible functions, such as L1 map)?

A. In such a small bare metal applications, everything including memory resources is under user control.


Have a great day,
Artur

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