Open-source USB interface: Audio Widget - Page 161 - diyAudio
Go Back   Home > Forums > Source & Line > Digital Source

Digital Source Digital Players and Recorders: CD , SACD , Tape, Memory Card, etc.

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 9th June 2012, 02:54 PM   #1601
starn02 is offline starn02  Italy
diyAudio Member
 
Join Date: Jul 2005
Location: Italy
Thank you Alex for the suggestion ... I'm browsing all info about Dragon, power, programming .... but still no solution.
I tried to power the board with a powered hub with no success.

A big doubt that I have is the following: looking carefully at what happens when the Dragon tries to interact with the board, I see that first of all the reset line is pulled low. I have checked with a scope and the clock and reset signals look ok.
The problem is: whenever the Dragon actually pulls down reset ... the board actually resets ... and this is just normal, it's like pressing the reset button ... but you can hear the classical sound "bibum - bibim" because actually it's like you have momentaneously disconnected and reconnected USB (the board disappears for a moment from windows devices, and then reappears).
My doubt is how can the Dragon control the board if it behaves this way ... maybe I miss something, but I don't see how the JTAG can take control of the board if this is the sequence!
Any suggestion? Is this (the reset) a behaviour built in the firmaware/bootloader?
  Reply With Quote
Old 9th June 2012, 03:16 PM   #1602
borges is online now borges  Norway
diyAudio Member
 
Join Date: Dec 2003
Location: Oslo, Norway
What is providing power in your setup? The JTAG connector has a direct connection to the regulated 3.3V supply of the MCU. If the Dragon also provides power things can go very wrong.

BÝrge
  Reply With Quote
Old 9th June 2012, 04:01 PM   #1603
starn02 is offline starn02  Italy
diyAudio Member
 
Join Date: Jul 2005
Location: Italy
The power should be OK. Both the board and the Dragon are connected to two different USB ports on a laptop. I tried different setups with no change.


The reset happens when I launch any command on the Dragon, which actually pulls the reset line on JTAG low. I think this is normal, or not?

Anyway, when connecting an X-plained board in place of the AB 1.1 everything works ok: the reset line is pulled low, and the JTAG works ... with AB 1.1 the board resets, and the Dragon reports an error saying the it has troubles reading the JTAG id ....
  Reply With Quote
Old 9th June 2012, 04:05 PM   #1604
starn02 is offline starn02  Italy
diyAudio Member
 
Join Date: Jul 2005
Location: Italy
Another doubt: browsing the code I see there is a section where the CPU tries to understand what's the cause of the reset ... brown out detector, actual reset button and so on ...
There's nothing that deals with JTAG. This code is standard or custom for the board?

From what I understand if it's executed ... it's normal that the board resets. Maybe it's another stupid question, but shouldn't be there some check on if a JTAG session is starting?
  Reply With Quote
Old 10th June 2012, 04:08 AM   #1605
diyAudio Member
 
Join Date: Apr 2011
Maybe try disconnecting the USB from the audio-widget. Just power the Dragon and connect to the JTAG connector. In AVR32 Studio there is an option to supply power from the JTAG to the uC - make sure it is 3v3 (not 5V).

I have been using JTAGICE MkII with the sdr-widget (a sister project of the audio-widget) with no issues. I have not tried with the audio-widget though so it may be different.

You should be able to completely erase the flash on the uC and install a new bootloader and change the fuses (with the JTAGICE MkII). Don't know about the Dragon

Alex
  Reply With Quote
Old 10th June 2012, 09:46 AM   #1606
starn02 is offline starn02  Italy
diyAudio Member
 
Join Date: Jul 2005
Location: Italy
I'm unable to find where I can set the Dragon to supply power, I suppose it's always on? VTREF pin is connected to VDD_3V3, so it should be so.

Anyway, after my last attempts I'm stuck in a very strange situation, with firmware of May 29 installed, working in UAC2 only, and unable to put the board in DFU mode any more. I tried in every mode, but without success.

Is there any other sequence that I can try besides keeping Prog button down and hitting reset?
  Reply With Quote
Old 10th June 2012, 10:17 AM   #1607
diyAudio Member
 
Join Date: Apr 2011
Can you control your widget with WidgetControl.py ? Post a screenshot.

Alex
  Reply With Quote
Old 10th June 2012, 10:28 AM   #1608
diyAudio Member
 
Join Date: Apr 2011
My WidgetControl.py screenshot looks like this:

Screenshot-2012-06-10-WidgetControl.png - sdr-widget - Screenshot of WidgetControl for Borge's AB1.1 - Audio and Control Interface for Amateur Radio SDR and Audiophile USB-DAC - Google Project Hosting

You should be able to change from uac2_audio to uac1_audio etc.

If you are not able to change with the PRG/RESET button presses then there may be something wrong with the switches. Check their continuity with the uC pins

Alex
  Reply With Quote
Old 10th June 2012, 01:25 PM   #1609
borges is online now borges  Norway
diyAudio Member
 
Join Date: Dec 2003
Location: Oslo, Norway
The Reset and Prog button signals should see 10kOhm to +3.3V when not pressed, and 0Ohm to GND when pressed.

Which colour is your module? On the red ones I made a BOM mistake and specified 10nF capacitors for the pull-up resistors. This is something I fixed and then tested on each module which went out. What you are describing sounds a bit like what happened the first time I powered on a module like that. So if your module is red, check if R1303 and R1304 are indeed resistors.

BÝrge
Attached Images
File Type: png pull_up.png (103.7 KB, 245 views)
  Reply With Quote
Old 10th June 2012, 09:57 PM   #1610
diyAudio Member
 
oneoclock's Avatar
 
Join Date: Oct 2010
I have measured AB-ES9023. Is measured with MOTU UltraLite MK3.
Click the image to open in full size.
Intermodulation measurements are similar or better than AK4430 presented by 1audio of the post 1384.Open-source USB interface: Audio WidgetI think the DAC ES9023 of 1audio may have a problem.

also I put jitter measures at 44,100 kHz.
(I do not have Wav Jtest file to measure at 48,000 kHz.)
Click the image to open in full size.
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Async 192Khz USB - the SDR-Widget collaborative project SunRa PC Based 5 26th April 2011 06:38 PM
usb audio interface david12 Equipment & Tools 14 10th October 2010 02:58 AM
Cheap Audio Interface (USB?) to PC agm2003 Instruments and Amps 11 16th September 2007 07:48 AM
Open call for suggestions on Open Source DIY Audio Design gfergy Everything Else 1 15th April 2007 07:33 AM
USB Interface Perfect?- Computer Audio fmak Digital Source 3 4th December 2004 10:24 PM


New To Site? Need Help?

All times are GMT. The time now is 07:22 AM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright ©1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2