Device could not be powered up with SAMD21

Go To Last Post
8 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Good day!

 

I am new here in the community and I also wrote in a comment in one of the posts , Excuse me !

I'm looking for an answer about "Device could not be powered up", I use an arduous MKRZero with the ULINK2 programmer and the Keil uVision interface.

I checked everything in the programmer and it is working fine now the problem was that I wanted to change the main oscillator to 8MHz as CLK_MAIN, I didn't know what happened, I tried to program it again and I got this message "Device could not be powered up" I checked the power supply of the microcontroller and it is powered up and I wanted to ask if a reset can be done to solve that problem or what can I do in these cases?

Last Edited: Mon. Sep 28, 2020 - 07:18 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Where, exactly, do you see that message, and what, exactly, are you doing to get there.

 

Remember that we can't see your screen or what you are doing - so you need to give a full and detailed description in your post.

 

You are aware that a uLink - like most debug probes - does not supply power to the target ?

 

See Tip #1 in my signature, below, for how to post screenshots.

 

You say you are using Keil tools (uLink & uVision), so it might be worth posting in the Keil forum - but be sure to mention that you're cross-posting, and give a link there to this post, and a link here to that post.

 

Have you tried using the Atmel or Microchip tools?

 

antouriel123 wrote:
an arduous (sic) MKRZero

laugh

 

You mean this: https://store.arduino.cc/arduino-mkr-zero-i2s-bus-sd-for-sound-music-digital-audio-data ?

 

As far as I can see, that does not come with a debug connector as standard - so how are you attaching the uLink?

 

EDIT

 

Before messing with the uLink, did you have the board working as intended with the Arduino IDE ?

 

 

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
Last Edited: Mon. Sep 28, 2020 - 09:44 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

antouriel123 wrote:
I also wrote in a comment in one of the posts , Excuse me !

You can edit your post; eg, add the apology there, and give a link to this thread.

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

awneil wrote:

antouriel123 wrote:
I also wrote in a comment in one of the posts , Excuse me !

You can edit your post; eg, add the apology there, and give a link to this thread.

 

I took Moderators liberty and deleted the post/comment in the other thread as it had nothing to do with the topic.

 

Lets just move on.  No harm done

 

JIm

I would rather attempt something great and fail, than attempt nothing and succeed - Fortune Cookie

 

"The critical shortage here is not stuff, but time." - Johan Ekdahl

 

"Step N is required before you can do step N+1!" - ka7ehk

 

"If you want a career with a known path - become an undertaker. Dead people don't sue!" - Kartman

"Why is there a "Highway to Hell" and only a "Stairway to Heaven"? A prediction of the expected traffic load?"  - Lee "theusch"

 

Speak sweetly. It makes your words easier to digest when at a later date you have to eat them ;-)  - Source Unknown

Please Read: Code-of-Conduct

Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB, RSLogix user

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

thanks, JIm.  smiley

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello to everything!
Thank you to those who suggested me, but I was able to get out of the problem thanks, sorry if I made you wait I was able to reset the mic with the atmel ICE.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

What I am looking for is some expert handling the KEIL uVision so I can ask some questions, if anyone knows here is my mail:

 

antoniou.gonzalez@ditems.com

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Please give the link to your cross-post on the Keil forum.

 

antouriel123 wrote:
I was able to get out of the problem

For the benefit of others having similar problems who may find this, please explain what was the actual problem, and how you solved it.

 

And please mark the solution - see Tip #5 in my signature, below:

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...