Skip to content
This repository has been archived by the owner on Aug 2, 2018. It is now read-only.

Use CCM memory #16

Open
vmayoral opened this issue Oct 21, 2014 · 1 comment
Open

Use CCM memory #16

vmayoral opened this issue Oct 21, 2014 · 1 comment

Comments

@vmayoral
Copy link
Member

Branch https://github.com/ros2/ros2_embedded_nuttx/tree/ccm pretends to use CCM memory following http://www.nuttx.org/doku.php?id=wiki:howtos:stm32-ccm-alloc however when reseting the board:

AB�DF
up_assert: Assertion failed at file:mm_heap/mm_initialize.c line: 100
up_dumpstate: sp:         2000ced4
up_dumpstate: stack base: 2000cf94
up_dumpstate: stack size: 00001000
up_stackdump: 2000cec0: 2000ced4 2000cec0 2000cec0 2000ced4 00000000 00000000 00000000 2000cee4
up_stackdump: 2000cee0: 08001ce3 2000ced4 20002480 00001000 2000cf94 2000cf04 08001d6d 00000064
up_stackdump: 2000cf00: 68686868 00000064 080a6d3c 2000cf14 08006c8d 0000000d 00013068 2000cf98
up_stackdump: 2000cf20: 2000b050 2000cf2c 08006e01 10020000 00000000 2000cf3c 08006de5 00000000
up_stackdump: 2000cf40: 00013068 2000cf98 2000b050 00013068 0000000c 2000cf5c 08007027 00013068
up_stackdump: 2000cf60: 2000cf98 2000cf6c 08002c11 2000cf74 00013068 2000cf98 00000010 2000cf84
up_stackdump: 2000cf80: 08000565 2000227c 080b6ea8 00000000 ffffffff 68686868 68686868 68686868

@vmayoral
Copy link
Member Author

This way CCM memory could be used to allocate statically defined variables. Seems like a dead end.

The linker script adb9702 has been modified to try using this memory (following stm3240g-eval intructions) but the memory allocated in the CCM region is still not writable.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant