• AVR Freaks

Hot!Harmony with SAMD21 Oscillator hang

Author
mutty75
New Member
  • Total Posts : 2
  • Reward points : 0
  • Joined: 2019/10/15 23:24:22
  • Location: 0
  • Status: offline
2019/10/17 07:25:28 (permalink)
0

Harmony with SAMD21 Oscillator hang

Dear all,
 
I come from AS7 where I develop many project with SAMD21 microcontroller.
I'd like to evaluate MplabX+Harmony in case of a future switch of Microchip to this platform.
 
I build-up a very basic project with Harmony library, but micro hangs at the beginning of clock initialization.
Debugger waits for OSC8M became ready but PCLKSR contains all 0 !!
This is very strange bacause OSC8M should be enabled by default at startup.
No way to get the system go over this point.
 
The same system works if a build a project without Harmony or import an ASF project ( with gcc compiler )
 
Someone expected the same problem or have a suggestion ???
 
Feel free to ask me for additional details.
 
Thank you.
#1

2 Replies Related Threads

    ric
    Super Member
    • Total Posts : 24217
    • Reward points : 0
    • Joined: 2003/11/07 12:41:26
    • Location: Australia, Melbourne
    • Status: online
    Re: Harmony with SAMD21 Oscillator hang 2019/10/17 20:20:04 (permalink)
    0
    Duplicate of https://www.microchip.com/forums/m1115660.aspx
    another victim of slow "first post approval" by the forum moderators.

    I also post at: PicForum
    Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
    NEW USERS: Posting images, links and code - workaround for restrictions.
    To get a useful answer, always state which PIC you are using!
    #2
    friesen
    Super Member
    • Total Posts : 2082
    • Reward points : 0
    • Joined: 2008/05/08 05:23:35
    • Location: Indiana, USA
    • Status: offline
    Re: Harmony with SAMD21 Oscillator hang 2019/10/19 14:45:23 (permalink)
    0
    Also perhaps a victim of incoherent SAM forums.

    Erik Friesen
    #3
    Jump to:
    © 2019 APG vNext Commercial Version 4.5