Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  not stable on cortexM4.
« previous next »
  • Print
Pages: [1]

Author Topic: not stable on cortexM4.  (Read 2518 times)

Offline braimp

  • Member
  • *
  • Posts: 10
not stable on cortexM4.
« on: November 09, 2015, 11:17:06 PM »
hi guys,
     i did the porting on cortexM4 (128K sram, 4MByte psram, 4M xip norflash, i cache, d cache, 52MHz) based on RK27.
     i can play .wav file on sdcard well.
     but what strange is:
     when i add some log, program crash.
     when i delete some log, program crash.
     when i add a line code , program crash.
     ......
   
      i change toolchain to arm-none-eabi-gcc.!
     any ideas?
Logged

Offline wodz

  • Developer
  • Member
  • *
  • Posts: 390
Re: not stable on cortexM4.
« Reply #1 on: November 10, 2015, 02:13:46 AM »
Could you provide:
1) Sources you are using
2) More info about the target board?

BTW. It usually good thing to catch us on IRC
« Last Edit: November 10, 2015, 02:17:08 AM by wodz »
Logged

Offline braimp

  • Member
  • *
  • Posts: 10
Re: not stable on cortexM4.
« Reply #2 on: November 10, 2015, 04:07:05 AM »
Quote from: wodz on November 10, 2015, 02:13:46 AM
Could you provide:
1) Sources you are using
2) More info about the target board?

BTW. It usually good thing to catch us on IRC

i am thinking about tool-chain issue.maybe the psram issue.

source code is latest from git.
my borad is our own chip on cortexm4.

porting based on rk27.
Logged

Offline wodz

  • Developer
  • Member
  • *
  • Posts: 390
Re: not stable on cortexM4.
« Reply #3 on: November 10, 2015, 07:04:59 AM »
You know, rk27 is arm7-ejs core which is very different from cortex-m4. I can be really anything.
Logged

Offline braimp

  • Member
  • *
  • Posts: 10
Re: not stable on cortexM4.
« Reply #4 on: November 10, 2015, 07:16:11 AM »
Quote from: wodz on November 10, 2015, 07:04:59 AM
You know, rk27 is arm7-ejs core which is very different from cortex-m4. I can be really anything.

yes.i just use its macros.haha.
Logged

Offline gevaerts

  • Administrator
  • Member
  • *
  • Posts: 1053
Re: not stable on cortexM4.
« Reply #5 on: November 10, 2015, 12:41:47 PM »
So you're using a build from unmodified source on a different CPU core than it was written for and you get crashes? Why are you surprised by this?
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: not stable on cortexM4.
« Reply #6 on: November 10, 2015, 01:41:08 PM »
We don't have Thumb2 branch in the target tree.  From what I understand, its similar to ARMv6, but not compatible.  I suppose things like the MMU functions and such need to be ported to Thumb2. 
Logged

Offline braimp

  • Member
  • *
  • Posts: 10
Re: not stable on cortexM4.
« Reply #7 on: November 12, 2015, 04:04:38 AM »
hi guys,
     my fault.
     psram is not stable.

     now rockbox is running on my cortexm4 fpga now.
     mp3 and wav are ok.
     thx.
« Last Edit: November 12, 2015, 04:51:25 AM by braimp »
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  not stable on cortexM4.
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.085 seconds with 15 queries.