Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.forth > #57552
| From | rickman <gnuarm@gmail.com> |
|---|---|
| Newsgroups | comp.lang.forth |
| Subject | Re: Trying to bring up mecrisp-stellaris on ARM M0 STM32F030F4P6, getting infinite loop of unhandled exceptions |
| Date | 2017-04-18 11:52 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <od5chh$m17$2@dont-email.me> (permalink) |
| References | <9f2b46f2-b1ce-4de7-8a40-60479b471dc8@googlegroups.com> <90f50e7f-ff76-45bb-9432-0caa164ebbd3@googlegroups.com> |
On 4/17/2017 9:17 PM, Richard Lourette wrote:
> On Saturday, April 15, 2017 at 3:41:33 PM UTC-4, Richard Lourette wrote:
>> I think I solved my problem by writing this post, but I will post anyway.
>>
>> I was wondering if anyone can suggest how I can trouble shoot the looping unhandled exception I am seeing after installing a build of stm32f030f4 (obtained from GIT on 4/14).
>>
>> The CPU I am attempting to run it on is the STM32F030F4P6. It has 16k flash and 4k SRAM.
>>
>> Any suggestion as to how to go about debugging this? This build runs on the ST DISCO board for the same family of processor.
>>
>> The memory file for this build is as follows:
>>
>>
>> MEMORY
>> {
>> rom(RX) : ORIGIN = 0x00000000, LENGTH = 0x3800
>> ram(WAIL) : ORIGIN = 0x20000000, LENGTH = 0x4000
>> }
>>
>> SECTIONS
>> {
>> .text : { *(.text*) } > rom
>> .bss : { *(.bss*) } > ram
>> }
>>
>>
>> I just realized the ram section length is 16k, but my CPU only has 4k.
>>
>> I still would like to know how I could have debugged this with a debugger.
>>
>> Thanks for your thoughts.
>>
>> Rich
>
> Well, as it turned out, my assumption was wrong. I am still getting the unhandled exceptions. This is not code that I wrote, but a forth port called Mecrips-Stellaris for the STM32 family of processors. The port works find on the discovery board, which has 16k of Ram.
>
> All I should have had to do was to define the RAM and Flash size for this part as it is part of the supported family.
>
> LMK if you have any insight.
I forgot to mention that Terry Porter has a documentation page for
Mecrisp-Stellaris at http://128.199.141.78/ Yes, he uses an IP address
rather than a URL. You can also reach that page with a URL I own,
http://armforth.org/
Terry is familiar with compiling the sources for Mecrisp and in
particular is big on the ST Micro parts. He can be contacted on IRC
chat or email as shown here.
http://128.199.141.78/contributors.html
--
Rick C
Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Trying to bring up mecrisp-stellaris on ARM M0 STM32F030F4P6, getting infinite loop of unhandled exceptions Richard Lourette <rlourette@gmail.com> - 2017-04-15 12:41 -0700
Re: Trying to bring up mecrisp-stellaris on ARM M0 STM32F030F4P6, getting infinite loop of unhandled exceptions rickman <gnuarm@gmail.com> - 2017-04-15 16:03 -0400
Re: Trying to bring up mecrisp-stellaris on ARM M0 STM32F030F4P6, getting infinite loop of unhandled exceptions David Schultz <abuse@127.0.0.1> - 2017-04-15 15:15 -0500
Re: Trying to bring up mecrisp-stellaris on ARM M0 STM32F030F4P6, getting infinite loop of unhandled exceptions Richard Lourette <rlourette@gmail.com> - 2017-04-17 18:17 -0700
Re: Trying to bring up mecrisp-stellaris on ARM M0 STM32F030F4P6, getting infinite loop of unhandled exceptions rickman <gnuarm@gmail.com> - 2017-04-18 11:45 -0400
Re: Trying to bring up mecrisp-stellaris on ARM M0 STM32F030F4P6, getting infinite loop of unhandled exceptions rickman <gnuarm@gmail.com> - 2017-04-18 11:52 -0400
Re: Trying to bring up mecrisp-stellaris on ARM M0 STM32F030F4P6, getting infinite loop of unhandled exceptions jonjo <jjonethal@yahoo.de> - 2017-04-18 12:20 -0700
csiph-web