Menu

#438 bad PC in context on ATmega2560

19.1.4
open
None
Other
Low
19.1.3
True
2019-10-06
2013-11-05
No

Hi. I found a problem when using ChibiOS 2.6.1 on ATmega2560. The problem is that the size of the PC in the ATmega2560 is 3 bytes, but saved in context and restored from it only 2 bytes. I found a project in which it is fixed (http://code.google.com/p/rtoslibs/). Main difference in file "os\ports\GCC\AVR\chcore.h ". I tested this code and it works. The changed file is attached.
Please fix this bug, this is very important.
Sorry for my bad english.

1 Attachments

Discussion

  • Giovanni Di Sirio

    • status: open --> open-accepted
    • Priority: 5 --> 3
     
  • Giovanni Di Sirio

    • status: open-accepted --> closed
    • assigned_to: Theodore Ateba
    • Component: --> Other
    • Severity: --> Low
    • Affected Version: --> 19.1.3
    • Milestone: --> 19.1.4
    • Fixed in Repository: --> True
     
  • Giovanni Di Sirio

    • status: closed --> open
     

Log in to post a comment.