• AVR Freaks

Hot!Harmony with SAMD21 Oscillator hang

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)

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.

2 Replies Related Threads

    Super Member
    • Total Posts : 27059
    • 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)
    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!
    Super Member
    • Total Posts : 2126
    • 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)
    Also perhaps a victim of incoherent SAM forums.

    Erik Friesen
    Jump to:
    © 2020 APG vNext Commercial Version 4.5