реклама на сайте
подробности

 
 
 
Reply to this topicStart new topic
> EWARM 5.10 ругается, помогите понять
nameless
сообщение Sep 13 2007, 07:47
Сообщение #1


Частый гость
**

Группа: Свой
Сообщений: 174
Регистрация: 9-07-04
Пользователь №: 305



Заказываю RAM_debug, загружаю и в логе вижу:

Thu Sep 13 14:41:47 2007: Changing mapping: RAM mapped to 0
Thu Sep 13 14:41:50 2007: The stack 'CSTACK' is filled to 100% (1024 bytes used out of 1024). The warning threshold is set to 90.%
Thu Sep 13 14:41:50 2007: The stack 'SVC_STACK' is filled to 100% (256 bytes used out of 256). The warning threshold is set to 90.%
Thu Sep 13 14:41:50 2007: The stack 'IRQ_STACK' is filled to 100% (256 bytes used out of 256). The warning threshold is set to 90.%
Thu Sep 13 14:41:50 2007: The stack 'FIQ_STACK' is filled to 100% (64 bytes used out of 64). The warning threshold is set to 90.%
Thu Sep 13 14:41:50 2007: The stack 'UND_STACK' is filled to 100% (64 bytes used out of 64). The warning threshold is set to 90.%
Thu Sep 13 14:41:50 2007: The stack 'ABT_STACK' is filled to 100% (64 bytes used out of 64). The warning threshold is set to 90.%
Thu Sep 13 14:41:50 2007: The stack pointer for stack 'CSTACK' (currently 0x002003F8) is outside the stack range (0x00001878 to 0x00001C78)
Thu Sep 13 14:41:50 2007: The stack pointer for stack 'SVC_STACK' (currently 0x00200500) is outside the stack range (0x00001C78 to 0x00001D78)
Thu Sep 13 14:41:50 2007: The stack pointer for stack 'IRQ_STACK' (currently 0x00200600) is outside the stack range (0x00001D78 to 0x00001E78)
Thu Sep 13 14:41:50 2007: The stack pointer for stack 'FIQ_STACK' (currently 0x00200640) is outside the stack range (0x00001E78 to 0x00001EB8)
Thu Sep 13 14:41:50 2007: The stack pointer for stack 'UND_STACK' (currently 0x00200680) is outside the stack range (0x00001EB8 to 0x00001EF8)
Thu Sep 13 14:41:50 2007: The stack pointer for stack 'ABT_STACK' (currently 0x002006C0) is outside the stack range (0x00001EF8 to 0x00001F38)


где это исправлять?
Go to the top of the page
 
+Quote Post
alexander55
сообщение Sep 13 2007, 09:27
Сообщение #2


Бывалый
*****

Группа: Свой
Сообщений: 1 584
Регистрация: 7-08-07
Пользователь №: 29 615



Цитата(nameless @ Sep 13 2007, 11:47) *
Заказываю RAM_debug, загружаю и в логе вижу:

Thu Sep 13 14:41:47 2007: Changing mapping: RAM mapped to 0
Thu Sep 13 14:41:50 2007: The stack 'CSTACK' is filled to 100% (1024 bytes used out of 1024). The warning threshold is set to 90.%
Thu Sep 13 14:41:50 2007: The stack 'SVC_STACK' is filled to 100% (256 bytes used out of 256). The warning threshold is set to 90.%
Thu Sep 13 14:41:50 2007: The stack 'IRQ_STACK' is filled to 100% (256 bytes used out of 256). The warning threshold is set to 90.%
Thu Sep 13 14:41:50 2007: The stack 'FIQ_STACK' is filled to 100% (64 bytes used out of 64). The warning threshold is set to 90.%
Thu Sep 13 14:41:50 2007: The stack 'UND_STACK' is filled to 100% (64 bytes used out of 64). The warning threshold is set to 90.%
Thu Sep 13 14:41:50 2007: The stack 'ABT_STACK' is filled to 100% (64 bytes used out of 64). The warning threshold is set to 90.%
Thu Sep 13 14:41:50 2007: The stack pointer for stack 'CSTACK' (currently 0x002003F8) is outside the stack range (0x00001878 to 0x00001C78)
Thu Sep 13 14:41:50 2007: The stack pointer for stack 'SVC_STACK' (currently 0x00200500) is outside the stack range (0x00001C78 to 0x00001D78)
Thu Sep 13 14:41:50 2007: The stack pointer for stack 'IRQ_STACK' (currently 0x00200600) is outside the stack range (0x00001D78 to 0x00001E78)
Thu Sep 13 14:41:50 2007: The stack pointer for stack 'FIQ_STACK' (currently 0x00200640) is outside the stack range (0x00001E78 to 0x00001EB8)
Thu Sep 13 14:41:50 2007: The stack pointer for stack 'UND_STACK' (currently 0x00200680) is outside the stack range (0x00001EB8 to 0x00001EF8)
Thu Sep 13 14:41:50 2007: The stack pointer for stack 'ABT_STACK' (currently 0x002006C0) is outside the stack range (0x00001EF8 to 0x00001F38)
где это исправлять?

У Вас Указатели стеков не туда глядят.
Вариантов несколько.
1. Подключить необходимый icf файл.
2. Project->Option->Linker->Config. Linker Configuration File. Edit. и.т.д.
Go to the top of the page
 
+Quote Post
nameless
сообщение Sep 13 2007, 10:02
Сообщение #3


Частый гость
**

Группа: Свой
Сообщений: 174
Регистрация: 9-07-04
Пользователь №: 305



Спасибо. Разобрался. Несмотря на подключенный родной xx_RAM.icf и заказанными неимоверными стеками (больше кода) линкер реагировал на дефайны в коде (!!!) то есть если я использую для своих нужд:

#define INT_SARM 0x200000 // от старого проекта осталось

то линкер именно туда и определял.....
Go to the top of the page
 
+Quote Post
nameless
сообщение Sep 21 2007, 04:08
Сообщение #4


Частый гость
**

Группа: Свой
Сообщений: 174
Регистрация: 9-07-04
Пользователь №: 305



Рано я отрапортовался. Код разбух и снова указанные стеки переполнены. Даже неимоверных размеров стеки в .icf не помогают. Про outside промахи не ругается. Просто превышен freshhold. Уже перешел на Flash_debug, но как-то осадок-то остался. Мож кто сталкивался?
Go to the top of the page
 
+Quote Post
alexander55
сообщение Sep 21 2007, 04:42
Сообщение #5


Бывалый
*****

Группа: Свой
Сообщений: 1 584
Регистрация: 7-08-07
Пользователь №: 29 615



Цитата(nameless @ Sep 21 2007, 08:08) *
Рано я отрапортовался. Код разбух и снова указанные стеки переполнены. Даже неимоверных размеров стеки в .icf не помогают. Про outside промахи не ругается. Просто превышен freshhold. Уже перешел на Flash_debug, но как-то осадок-то остался. Мож кто сталкивался?

Внимательно анализируйте map. Где-то надо умерить свои желания и аппетиты.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 чел. читают эту тему (гостей: 1, скрытых пользователей: 0)
Пользователей: 0

 


RSS Текстовая версия Сейчас: 26th July 2025 - 07:43
Рейтинг@Mail.ru


Страница сгенерированна за 0.01373 секунд с 7
ELECTRONIX ©2004-2016