Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

Help upgrading TinyBooter using SAM-BA 2.12


  • Please log in to reply
12 replies to this topic

#1 ash

ash

    Advanced Member

  • Members
  • PipPipPip
  • 66 posts

Posted 14 August 2012 - 02:49 PM

great just downloaded sam-ba 2.12 and nothing is showing in the connection window :unsure:

#2 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 14 August 2012 - 02:52 PM

Hi ash,

great just downloaded sam-ba 2.12 and nothing is showing in the connection window :unsure:

Grab a small piece of wire, plug one end into the 3V3 header on your Netduino, and then carefully touch the other end of the wire to the gold ERASE pad (just below the D0 pins).

Then unplug and reattach your Netduino. It should now show up when you start SAM-BA 2.12 (and should appear as a serial port in Device Manager rather than as a Netduino).

Chris

#3 ash

ash

    Advanced Member

  • Members
  • PipPipPip
  • 66 posts

Posted 14 August 2012 - 03:15 PM

oh that gold pin. blanked it and now its coming up and a com3 camera detect. using samba-ba 2.12 on the flash tab, the send file is the tinybooter sent it with locks. disconnected the usb and reconntected and still thinks its a camera, lol.

#4 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 14 August 2012 - 03:23 PM

Hi ash,

oh that gold pin. blanked it and now its coming up and a com3 camera detect.

using samba-ba 2.12 on the flash tab, the send file is the tinybooter sent it with locks. disconnected the usb and reconntected and still thinks its a camera, lol.

When you connect via TinyBooter:
1. Select "enable flash access" and press "execute".
2. Select "boot from flash" and press "execute".
3. Browse for the TinyBooterDecompressor.bin file and then send it to your board.
4. When asked if you want to lock the firmware, choose NO.

Full instructions for TinyBooter are available on the Wiki as well.

Chris

#5 ash

ash

    Advanced Member

  • Members
  • PipPipPip
  • 66 posts

Posted 14 August 2012 - 03:27 PM

loading history file ... 0 events added
SAM-BA console display active (Tcl8.5.9 / Tk8.5.9)
(sam-ba_2.12) 1 % 
(sam-ba_2.12) 1 % FLASH::Init
-I- Loading applet applet-flash-at91sam7x512.bin at address 0x202000
-I- Memory Size : 0x80000 bytes
-I- Buffer address : 0x202B44
-I- Buffer size: 0x1D300 bytes
-I- Applet initialization done
(sam-ba_2.12) 1 % FLASH::ScriptGPNMV 4
-I- GPNVM2 set
(sam-ba_2.12) 1 % send_file {Flash} "C:/Users/Ash Jones/Desktop/NetduinoPlus_Firmware_4.2.0.0/TinyBooterDecompressor.bin" 0x100000 0
-I- Send File C:/Users/Ash Jones/Desktop/NetduinoPlus_Firmware_4.2.0.0/TinyBooterDecompressor.bin at address 0x100000
 first_sector 0 last_sector 2 
-I- 	Writing: 0xA104 bytes at 0x0 (buffer addr : 0x202B44)
Do not unlock 
-I- 	Writing: 0xA104 bytes at 0x0 (buffer addr : 0x202B44)
-E- Generic::Write returned error (0x00000004)
(sam-ba_2.12) 1 % 

fails on send file

#6 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 14 August 2012 - 03:31 PM

Hi ash,

fails on send file

Please follow the instructions on the following Wiki page:
Flash TinyBooterDecompressor.bin using SAM-BA v2.12+

If SAM-BA has trouble writing to the board, please do one extra step and select "erase all flash" and press "execute" before writing the firmware.

After flashing the bootloader, you can use the following instructions to flash the .NET Micro Framework runtime:
Flash TinyCLR using MFDeploy v4.2+

Chris

#7 ash

ash

    Advanced Member

  • Members
  • PipPipPip
  • 66 posts

Posted 14 August 2012 - 03:33 PM

anyway it seems to have something. powered off & powered on the USB (popo) now it tried to instal NP driver and fails! so i go the np driver folder and now it says no driver can be found!

#8 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 14 August 2012 - 03:39 PM

Hi ash,

anyway it seems to have something. powered off & powered on the USB (popo) now it tried to instal NP driver and fails! so i go the np driver folder and now it says no driver can be found!

Did you upgrade to the Netduino 4.2 SDK (and .NET MF 4.2 QFE2 SDK) already?

Those include the drivers and support for WinUSB, the new driver system used by .NET Micro Framework 4.2.

If you have installed those, then the flash process may not have completed properly; please use the "compare" feature of SAM-BA to verify that the bootloader was written properly.

Chris

#9 ash

ash

    Advanced Member

  • Members
  • PipPipPip
  • 66 posts

Posted 14 August 2012 - 03:41 PM

oh i had 4.2 rc5 before just installing the qfe stuff now. But i already have the 4.2SDK installed the april version. Would i need to install it again?

#10 nakchak

nakchak

    Advanced Member

  • Members
  • PipPipPip
  • 404 posts
  • LocationBristol, UK

Posted 14 August 2012 - 04:13 PM

oh i had 4.2 rc5 before

just installing the qfe stuff now.

But i already have the 4.2SDK installed the april version. Would i need to install it again?

Hi Ash

I would say it would be best to uninstall everything 4.2 you may have previously installed and install using the latest binaries, that way you should avoid any driver difficulties and other gremlins.

Nak.

#11 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 14 August 2012 - 04:15 PM

But i already have the 4.2SDK installed the april version. Would i need to install it again?

Yes, please upgrade to the new Netduino 4.2 SDK. The August 2012 update (currently posted version) includes the WinUSB drivers you'll need.

Chris

#12 Ellen

Ellen

    Advanced Member

  • Members
  • PipPipPip
  • 65 posts
  • LocationRotterdam, Netherlands

Posted 15 August 2012 - 07:00 PM

Yes, please upgrade to the new Netduino 4.2 SDK. The August 2012 update (currently posted version) includes the WinUSB drivers you'll need.

Chris


Atmel offline.... any other site for downloading Samba.?.

Service Unavailable - DNS failure
The server is temporarily unable to service your request. Please try again later.
Reference #11.d70e4bd5.1345056762.110efaf

#13 Stefan

Stefan

    Moderator

  • Members
  • PipPipPip
  • 1965 posts
  • LocationBreda, the Netherlands

Posted 15 August 2012 - 07:09 PM

Atmel offline.... any other site for downloading Samba.?.

Service Unavailable - DNS failure
The server is temporarily unable to service your request. Please try again later.
Reference #11.d70e4bd5.1345056762.110efaf


ftp://ftp.at91.com/devel/tools/
Does that help?
"Fact that I'm a moderator doesn't make me an expert in things." Stefan, the eternal newb!
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.