Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 14, 2018, 04:41:53 16:41


Login with username, password and session length


Pages: 1 2 [3] 4 5 6 7
Print
Author Topic: JLink V8  (Read 97760 times)
0 Members and 1 Guest are viewing this topic.
urosg
Newbie
*
Offline Offline

Posts: 9

Thank You
-Given: 3
-Receive: 0


« Reply #50 on: January 05, 2013, 08:07:00 08:07 »

Short step-by-step:

1. download and install SAM-BA package from atmel.com (http://www.atmel.com/tools/ATMELSAM-BAIN-SYSTEMPROGRAMMER.aspx)
2. open the j-link case
3. identify the ERASE (pin 50) / TST (pin 40) jumpers/pins
4. short ERASE jumper to pull-high and connect the jlink to usb; wait for about a minute and disconnect usb
5. break/remove the ERASE jumper and short the TST jumper and repeat second half of previous step (connect usb, wait 1 minute and disconnect)
6. break/remove the TST jumper and reconnect USB
7. your jlink should now be identified as AT91 USB to serial adapter and a COM port should be assigned to it - if this doesn't happen repeat from step 3.
8. open SAM-BA program; select COM port that was assigned to your jlink and in board select "at91sam7s64-ek"; click CONNECT
9. select "FLASH" and select the BIN file you downloaded before and select to load the firmware into flash; the application will ask you if you want to unlock - select YES; at the end of programming there will be a similar question to LOCK - select NO! (very important)
10. congratulations you are done, reconnect the device and you should have a working jlink

(sorry the step 9. is a little descriptive as I didn't repeat the steps over again to view the actual screens)
« Last Edit: January 05, 2013, 08:09:11 08:09 by urosg » Logged
urosg
Newbie
*
Offline Offline

Posts: 9

Thank You
-Given: 3
-Receive: 0


« Reply #51 on: January 09, 2013, 11:15:59 11:15 »

Hopefully someone can confirm that the method I described worked for someone else but me.
Logged
cotang
Inactive

 Muted
Offline Offline

Posts: 2

Thank You
-Given: 3
-Receive: 0


« Reply #52 on: January 18, 2013, 01:06:35 01:06 »

Pin 55 is the Erase Pin.

Also I can seem to get SamBa to work. I can make  windows detect the jink clone as a USB to Serial but whenI select the Com and Board and hit connect, nothing happens.
Logged
urosg
Newbie
*
Offline Offline

Posts: 9

Thank You
-Given: 3
-Receive: 0


« Reply #53 on: January 21, 2013, 04:56:41 04:56 »

Did you check the actual MCU with the selected and also the COM port assigned in Device manager and selected the correct one in SAM-BA?
Logged
monkey
Newbie
*
Offline Offline

Posts: 20

Thank You
-Given: 74
-Receive: 10


« Reply #54 on: January 27, 2013, 05:13:56 17:13 »

Also from my experience:
1) You need to use x32 windows as I never got 64Bit OS driver to work. Perhaps you can comment.
many times it mistakenly detects selects a different driver ( USB camera or something ) so you may need to re-select the correct Atmel driver.
2) The Atmel programming software often crashes, and you may need to run the program, then plug in the device ( or vice-versa).
 with clone units, every now and then it can "forget: its firmware and so needs to be erased and re-flashed. I have not found this happen with real j-links.
Logged
urosg
Newbie
*
Offline Offline

Posts: 9

Thank You
-Given: 3
-Receive: 0


« Reply #55 on: January 28, 2013, 06:34:32 06:34 »

I have done this procedure on my Win7 64bit installation without problems, the most challenging part was the steps from 3 to 6 to get the chip reprogrammed, where the timing is important that you wait for at least a minute (60 seconds) before disconnecting and continuing to next step.
Logged
chinninitin
Active Member
***
 Muted
Offline Offline

Posts: 136

Thank You
-Given: 145
-Receive: 37



« Reply #56 on: February 11, 2013, 09:18:08 09:18 »

Thanks urosg

1) Install SAM-BA
2) Open J-Link Case
3) Identify ERASE and TST Jumpers
4) Close Jumper "ERASE" and pluggin Jlink to USB port, and wait for > 1 min and remove USB connection
5) Close Jumper "TST" and pluggin Jlink to USB port, and wait for > 1 min and remove USB connection
6) Make sure that ERASE and TST jumpers removed and pluggin Jlink to USB port
7) Now deivce will be identified as Virtual Serial port (USB-Serial adaptor), if fails follow steps 3 to 6 again till you get USB-Serial adaptor in device manager.
8 ) After getting step 7, start SAM-BA and select COM port assigned to Jlink, and board as "AT91SAM7S64-EK" and then click connect,
(Pic 1.jpg)
[img]1.jpg[img]
9) Select .bin file in FLASH tab and click send file (pic2.jpg)
[img]2.jpg[img]
10) You will be prompted with Do you want to unlock involved lock region(s) (0 to 15)? "Yes" to unlock it.,  -> Select YES (pic3.jpg)
[img]3.jpg[img]
11) You will be prompted with Do you want to lock involved lock region(s) (0 to 15)? "Yes" to lock it.,  -> Select NO (pic4.jpg)
[img]4.jpg[img]
12) You are done :-) ..... Happy Coding...


Regards
Chinni
« Last Edit: February 14, 2013, 02:37:08 02:37 by chinninitin » Logged
th_sak
Active Member
***
Offline Offline

Posts: 141

Thank You
-Given: 150
-Receive: 149



« Reply #57 on: May 31, 2013, 09:26:23 09:26 »

Jlink clone doesn't work with IAR v6.50.6.4954. When I download the application to the target I get a message that I'm using a Jlink clone and IAR IDE crashes. Using the same clone with IAR v6.50.2.4585 I can debug without any problems. Any suggestions?
Logged
pickit2
Moderator
Hero Member
*****
Offline Offline

Posts: 4133

Thank You
-Given: 676
-Receive: 2507


There is no evidence that I muted SoNsIvRi


« Reply #58 on: May 31, 2013, 01:34:28 13:34 »

lastest version is 6.50.6.4958 have you tried this version.?
Logged

Note: I must not post patch file. after having a few pints after work
th_sak
Active Member
***
Offline Offline

Posts: 141

Thank You
-Given: 150
-Receive: 149



« Reply #59 on: June 01, 2013, 08:14:30 08:14 »

lastest version is 6.50.6.4958 have you tried this version.?

No, I haven't. Have tried it with success? Forgot to mention that I'm not using original IAR but the one with patched dlls.
Logged
simma
Junior Member
**
 Muted
Offline Offline

Posts: 39

Thank You
-Given: 20
-Receive: 1


« Reply #60 on: June 04, 2013, 12:25:07 12:25 »

Hi guys,

Any suggestion on reliable Chinese on-line source to buy J-link V8 emulator? Ebay becoming expensive.

How about 85china.com? they are quite competitive.

And Tmall.com? Cheaper than 85china. But everything is in Chinese. English option is not available.

Ali express do not accept Paypal and I am not keen on giving out credit card details.

Any suggestions, please?

Logged
reksbg
Junior Member
**
Offline Offline

Posts: 56

Thank You
-Given: 24
-Receive: 48


« Reply #61 on: June 04, 2013, 04:13:46 16:13 »

I bought mine from Ali Express with credit card for $15. I also bought many other things and I never had a problem.
Logged
pickit2
Moderator
Hero Member
*****
Offline Offline

Posts: 4133

Thank You
-Given: 676
-Receive: 2507


There is no evidence that I muted SoNsIvRi


« Reply #62 on: June 04, 2013, 04:23:14 16:23 »

I bought mine from Ali Express with credit card for $15. I also bought many other things and I never had a problem.

Same here,I like the fact with AliExpress they hold the funds till your happy with the deal, at least in theory.
My total spend this year $4,000 plus
Logged

Note: I must not post patch file. after having a few pints after work
simma
Junior Member
**
 Muted
Offline Offline

Posts: 39

Thank You
-Given: 20
-Receive: 1


« Reply #63 on: June 06, 2013, 09:49:02 21:49 »

Thanks reksbg and pickit2.

May I how long does it take to receive the items at your side. Would you mind to share where is your region or country.

Pickit2, did you happen to buy any big test equipment (like oscilloscope) through Aliexpress? What is your take on this. Any recommendation on the stores.

regards,
Logged
Catcatcat
Active Member
***
Offline Offline

Posts: 152

Thank You
-Given: 110
-Receive: 342



WWW
« Reply #64 on: June 07, 2013, 02:29:25 02:29 »

recommend purchase on http://www.taobao.com/, prices are significantly lower
Logged
pickit2
Moderator
Hero Member
*****
Offline Offline

Posts: 4133

Thank You
-Given: 676
-Receive: 2507


There is no evidence that I muted SoNsIvRi


« Reply #65 on: June 07, 2013, 03:10:41 03:10 »

The clone J-Link I bought was of outstanding quality, the pcb was a work of art, no solder or misaligned conponents.

But don't forget aliexpress is only a market place, (like e-bay you could get scamed), if you google aliexpress you get a lot of "don't buy from aliexpress//alibabba", mostly from people who have only made one post, I don't take such posts as being usful, or any value.

The other thing is if you buy cheap, you try to save on postage costs, this is ok if you are in no hurry for items,as they will send it via china post.(up to 30 days to uk.. even if 80% only take about 15 days)

As to high value items I have bought, via ailexpress, highest order placed was $320, and highest single order was about $850.

I try to avoid single high value orders, as you can get hit with inport duty, add cost and delay, and your bargin is not so anymore.
avarage packet value $35, most don't delayed by uk customs & excise, the only problem I have had is build quality on some items, or ic/transistors look as if they have been removed from a pcb with a blow torch, (but all were usable, for hobby or home use only:P )

But saying that I do buy with knowing item is for reclaiming parts.

Posted on: June 07, 2013, 10:07:56 10:07 - Automerged

Plus using ailexpress you only have to use your card with them, not all the suppliers listed on thier site.
Logged

Note: I must not post patch file. after having a few pints after work
simma
Junior Member
**
 Muted
Offline Offline

Posts: 39

Thank You
-Given: 20
-Receive: 1


« Reply #66 on: June 07, 2013, 04:52:15 04:52 »

Thanks pickit2 and catcatcat.

Cat^3, I dont speak Chinese and everything on http://www.taobao.com/ is Chinese.

pickit2, very kind of you.
Logged
reksbg
Junior Member
**
Offline Offline

Posts: 56

Thank You
-Given: 24
-Receive: 48


« Reply #67 on: June 07, 2013, 08:35:52 08:35 »

May I how long does it take to receive the items at your side. Would you mind to share where is your region or country.
It's different. Sometime takes a week sometime takes more - 2-3 weeks. I guess it is mainly because of what is happening in China - holidays and stuff like that. Also they have statistics and you can see what is the average time to receive the package. Check the reviews for the seller - I'm trying to buy from sellers with more than 97-98% positive ratings. I live in the USA.
« Last Edit: June 07, 2013, 08:38:33 08:38 by reksbg » Logged
urosg
Newbie
*
Offline Offline

Posts: 9

Thank You
-Given: 3
-Receive: 0


« Reply #68 on: June 07, 2013, 12:18:49 12:18 »

I just bought for test one from DealExtreme: http://dx.com/p/j-link-v8-arm-usb-jtag-adapter-emulator-black-149039

Works like a charm with my method of reflashing.
Logged
th_sak
Active Member
***
Offline Offline

Posts: 141

Thank You
-Given: 150
-Receive: 149



« Reply #69 on: June 07, 2013, 01:54:04 13:54 »

I just found this site and seems to have the solution for the new version of jlink firmware, but Google translate sucks. If someone in this forum speak Chinese please share with us the solution and the attached files.
Logged
pickit2
Moderator
Hero Member
*****
Offline Offline

Posts: 4133

Thank You
-Given: 676
-Receive: 2507


There is no evidence that I muted SoNsIvRi


« Reply #70 on: June 07, 2013, 04:11:29 16:11 »

I just found this site and seems to have the solution for the new version of jlink firmware, but Google translate sucks. If someone in this forum speak Chinese please share with us the solution and the attached files.

The post to follow is #35
Logged

Note: I must not post patch file. after having a few pints after work
cavedano
Inactive

 Muted
Offline Offline

Posts: 5

Thank You
-Given: 12
-Receive: 0


« Reply #71 on: July 25, 2013, 08:13:02 08:13 »

I've used succefully the fw in Reply #42, using instructions here in reply#50, with no problem.
Then I've flashed the last J-Link firmware 4.74a

SEGGER J-Link Commander V4.74a ('?' for help)
Compiled Jul 23 2013 08:48:13
DLL version V4.74a, compiled Jul 23 2013 08:47:58
Firmware: J-Link ARM V8 compiled Jul 17 2013 11:24:15
Hardware: V8.00
S/N: 58004321
Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB
VTarget = 3.287V
Info: TotalIRLen = ?, IRPrint = 0x..000000000000000000000000
Info: TotalIRLen = ?, IRPrint = 0x..000000000000000000000000
No devices found on JTAG chain. Trying to find device on SWD.
Info: Found SWD-DP with ID 0x0BB11477
Info: FPUnit: 4 code (BP) slots and 0 literal slots
Info: Found Cortex-M0 r0p0, Little endian.
Cortex-M0 identified.
JTAG speed: 100 kHz
J-Link>


Logged
chinninitin
Active Member
***
 Muted
Offline Offline

Posts: 136

Thank You
-Given: 145
-Receive: 37



« Reply #72 on: October 25, 2013, 05:00:48 05:00 »

Team,

When I am updating J-Link with 4.78b JFlash option not working, its asking for License

Any suggestions?

Regards
Chinni
Logged
chinninitin
Active Member
***
 Muted
Offline Offline

Posts: 136

Thank You
-Given: 145
-Receive: 37



« Reply #73 on: December 19, 2013, 11:06:30 11:06 »

Friends any update for my previous post

Team,

When I am updating J-Link with 4.78b JFlash option not working, its asking for License

Any suggestions?

Regards
Chinni
Logged
scrts
Newbie
*
 Muted
Offline Offline

Posts: 23

Thank You
-Given: 11
-Receive: 11


« Reply #74 on: April 13, 2014, 04:52:35 16:52 »

Seems like not. However maybe there's a possibility to disable the access to the internet for JLink stuff? The Atmel cheat is nice, however sometimes works, sometimes not.
Logged
Pages: 1 2 [3] 4 5 6 7
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC