urosg
Newbie
Offline
Posts: 9
Thank You
-Given: 3
-Receive: 0
|
|
« Reply #50 on: January 05, 2013, 02:07:00 14: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, 02:09:11 14:09 by urosg »
|
Logged
|
|
|
|
urosg
Newbie
Offline
Posts: 9
Thank You
-Given: 3
-Receive: 0
|
|
« Reply #51 on: January 09, 2013, 05:15:59 17:15 » |
|
Hopefully someone can confirm that the method I described worked for someone else but me.
|
|
|
Logged
|
|
|
|
cotang
Inactive
Offline
Posts: 2
Thank You
-Given: 3
-Receive: 0
|
|
« Reply #52 on: January 18, 2013, 07:06:35 07: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
Posts: 9
Thank You
-Given: 3
-Receive: 0
|
|
« Reply #53 on: January 21, 2013, 10:56:41 10: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
Posts: 20
Thank You
-Given: 74
-Receive: 10
|
|
« Reply #54 on: January 27, 2013, 11:13:56 23: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
Posts: 9
Thank You
-Given: 3
-Receive: 0
|
|
« Reply #55 on: January 28, 2013, 12:34:32 12: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
Offline
Posts: 142
Thank You
-Given: 154
-Receive: 38
|
|
« Reply #56 on: February 11, 2013, 03:18:08 15: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, 08:37:08 08:37 by chinninitin »
|
Logged
|
|
|
|
th_sak
Active Member
Offline
Posts: 141
Thank You
-Given: 150
-Receive: 149
|
|
« Reply #57 on: May 31, 2013, 03:26:23 15: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
Posts: 4657
Thank You
-Given: 832
-Receive: 4300
There is no evidence that I muted SoNsIvRi
|
|
« Reply #58 on: May 31, 2013, 07:34:28 19:34 » |
|
lastest version is 6.50.6.4958 have you tried this version.?
|
|
|
Logged
|
Note: I stoped Muteing bad members OK I now put thier account in sleep mode
|
|
|
th_sak
Active Member
Offline
Posts: 141
Thank You
-Given: 150
-Receive: 149
|
|
« Reply #59 on: June 01, 2013, 02:14:30 14: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
Offline
Posts: 45
Thank You
-Given: 24
-Receive: 4
|
|
« Reply #60 on: June 04, 2013, 06:25:07 18: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
Posts: 60
Thank You
-Given: 26
-Receive: 56
|
|
« Reply #61 on: June 04, 2013, 10:13:46 22: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
Posts: 4657
Thank You
-Given: 832
-Receive: 4300
There is no evidence that I muted SoNsIvRi
|
|
« Reply #62 on: June 04, 2013, 10:23:14 22: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 stoped Muteing bad members OK I now put thier account in sleep mode
|
|
|
simma
Junior Member
Offline
Posts: 45
Thank You
-Given: 24
-Receive: 4
|
|
« Reply #63 on: June 07, 2013, 03:49:02 03: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
Senior Member
Offline
Posts: 429
Thank You
-Given: 284
-Receive: 1610
|
|
« Reply #64 on: June 07, 2013, 08:29:25 08:29 » |
|
recommend purchase on http://www.taobao.com/, prices are significantly lower
|
|
|
Logged
|
|
|
|
pickit2
Moderator
Hero Member
Offline
Posts: 4657
Thank You
-Given: 832
-Receive: 4300
There is no evidence that I muted SoNsIvRi
|
|
« Reply #65 on: June 07, 2013, 09:10:41 09: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 stoped Muteing bad members OK I now put thier account in sleep mode
|
|
|
simma
Junior Member
Offline
Posts: 45
Thank You
-Given: 24
-Receive: 4
|
|
« Reply #66 on: June 07, 2013, 10:52:15 10: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
Posts: 60
Thank You
-Given: 26
-Receive: 56
|
|
« Reply #67 on: June 07, 2013, 02:35:52 14: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, 02:38:33 14:38 by reksbg »
|
Logged
|
|
|
|
|
th_sak
Active Member
Offline
Posts: 141
Thank You
-Given: 150
-Receive: 149
|
|
« Reply #69 on: June 07, 2013, 07:54:04 19: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
Posts: 4657
Thank You
-Given: 832
-Receive: 4300
There is no evidence that I muted SoNsIvRi
|
|
« Reply #70 on: June 07, 2013, 10:11:29 22: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 stoped Muteing bad members OK I now put thier account in sleep mode
|
|
|
cavedano
Inactive
Offline
Posts: 5
Thank You
-Given: 12
-Receive: 0
|
|
« Reply #71 on: July 25, 2013, 02:13:02 14: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
Offline
Posts: 142
Thank You
-Given: 154
-Receive: 38
|
|
« Reply #72 on: October 25, 2013, 11:00:48 11: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
Offline
Posts: 142
Thank You
-Given: 154
-Receive: 38
|
|
« Reply #73 on: December 19, 2013, 05:06:30 17: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
Offline
Posts: 24
Thank You
-Given: 12
-Receive: 11
|
|
« Reply #74 on: April 13, 2014, 10:52:35 22: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
|
|
|
|
|