Menu

#6 Add support for F920-F931 chips

open
nobody
None
5
2008-04-29
2008-04-29
Julian Lamb
No

Attached are patches to device_table.csv and c2_mode.c to add support for the F920 family. The breakpoints seem to be handled like the F340 family in that they have an "active_bp" register, and the register is in a different location from the F340 BTW.

Also, I'm not sure on the ID values for the chips...my F920 has a 0xb1 ID, but I'm not sure on the other chips in the family. Where can you get this info? I couldn't find it in the datasheet.

Cheers--

Discussion

  • Julian Lamb

    Julian Lamb - 2008-04-29

    Patch to c2_mode.c

     
  • Julian Lamb

    Julian Lamb - 2008-04-29

    Patch to device_table.csv

     
  • Julian Lamb

    Julian Lamb - 2008-04-29

    Logged In: YES
    user_id=1709675
    Originator: YES

    File Added: patch.device_table.csv

     
  • Ricky White

    Ricky White - 2008-05-03

    Logged In: YES
    user_id=22723
    Originator: NO

    Hi Julian,

    Thanks for the patches. I'll add them to SVN later today.

    Yes the unique device id isn't in the datasheet but was discovered looking at traces of communications with different micros.

    Somewhere i have a small program that pretends to be an ec2 so it is easy to guess the other numbers for the family and test them. In most cases they seem to use consecutive numbers for a family.
    The test acts enough like the the ec2 that the IDE reports what processor it matches so its easy to try different ids.

    Ricky

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.