This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
TM4C129Xs fresh from TI following the data sheet's preferred practice are bricked.
The datasheet's table 31-7 says an unused Ethernet PHY should leave RBIAS not connected. This is the preferred practice. This bricks the chip.
I received unprogrammed TM4C129Xs from my CM without the 4.87k resistor connected to RBIAS. The micros could not be programmed. CCS gave me error 2062.
This thread gives us background: Error -2062 when programming a TM4C129XNCZAD processor, what does it mean? - Arm-based microcontrollers...
Amit claims the error is caused by code within the micro trying to turn on the PHY. But these devices were never programmed.
I had to (1) remove the 25MHz crystals. (2) Flash in a bogus code that doesn't turn on the PHY. (3)Re-solder the 25MHz crystal. (4) Do real work.
I'm fairly upset at the time wasted. I assume this problem can remain hidden to TI because most customers would not buy this chip without the intent of using PHY. I intend on using PHY in the final design, but this order was a prototype which only tests the EPI and LCD interfaces.
Hi Ralph,
Ralph Jacobi said:The 'preferred practice' also comes with a foot note that the internal PHY should not be activated and that if the ROM Boot Loader were allowed to execute with a 25MHz crystal on board, it would enable the PHY and cause the issue.
Perhaps I have missed something in the fact that when the Flash memory is not blank as Peter claimed (CM had programmed) in such case the ROM boot loader should not attempt to engage the MOSC 25Mhz crystal.
How do we know the CM did not use the JTAG port to first program the flash and would JTAG DAP have a higher priority on AHB over that of document errata (ROMBL) failure from missing RBIAS resistor?
Perhaps CM did not program the flash or was unaware it failed, posters question thus being answered by the explanation of certain errata from blank erased flash is known to exist?
Hello BP101,
Peter also stated the devices were not programmed and they were fresh from TI, so it's not definitive one way or another. Based on symptoms and steps to resolve, it sounds very much like that was the case. But yes, Peter can (and probably should) confirm for us whether or not the CM actually programmed the devices.
The CM was a rapid prototype house. I only had 10 made to test a new RAM chip. CMs don't typically do things without being paid to do it.
Without instruction, the CM would have to pick a program (built from ??? source code), buy a debugger, buy a special connector cable I use, set up a PC with some programming app, and then have someone on the line program. I suppose I could ask, but the idea is not fathomable in my mind. I shall ask anyways.
Also, erasing the flash (with UniFlash) results in the same un-connectable state (error 2062). So that's proof a blank device will not work when the preferred practice is followed.
On a side note, Tag-Connect makes the cable and they are super useful for minimalist programming pads. I do recommend. I think TI uses them too because I sse the same programming footprint on their launchpads.
Peter Borenstein said:I received programmed TM4C129Xs from my CM without the 4.87k resistor connected to RBIAS
Perhaps you might edit the 1st post so future readers do not think the Flash was indeed programmed by CM. Do we not program an embedded MCU, slang for writing the application to flash?
Has not the question been answered by myself and TI engineer?.
This post is more of a complaint than a question. The workaround is in the original post.
I will give resolved credit and say nice things about anyone who posts "I will change the datasheet's preferred practice"
You're thoughts are still valued! Interesting related insights are an opportunity to learn, but they don't quite merit being called a solution.
Peter Borenstein said:Let me know if you ever need a vocal advocate for change
First - small firm staff and I, "Feel your pain!" Tighter client-user guidelines - beyond "best practice" - seem much in order.
While your frustration is justified - your dealing w/skilled vendor agent here (who was & remains totally blameless) seemed at times - bit harsh. (note that I too - on "not so few" occasions - have directed "Howitzer Fire" upon vendor's inane, "rules/regulations.")
Your offer of "vocal advocacy" (to vendor's agent here) - may prove "less effective" than your, "Direct Contact w/vendor's nearest Sales Office." (usually far "better equipped" to steer your factual protest "up channel" - where it enjoys the greatest hearing, thus "chance for success." (having past worked for a similar Semi-giant - it must be noted that "VOLUME TALKS" - and most always "propels" such change!)
Datasheets for some other devices have a link to a Submit Documentation Feedback form.Peter Borenstein said:We can get a petition going.
The link is missing from Tiva datasheets, but I think you could use http://www.go-dsp.com/forms/techdoc/doc_feedback.htm?litnum=SPMS444B&partnum=TM4C129XNCZAD to submit a suggestion on the TM4C129XNCZAD datasheet.
In case you hadn't seen it, the following is a description of the problem from the device errata:
Errata ETH#03 is documented as affecting all existing silicon revisions 1, 2 and 3, which is more reason for updating the preferred practice in the datasheet.
I did not characterize your writing as "mean." (it did target one who offered aid - thus proved ill-aimed - and harsh)
Again - your best ability to impact this situation - to "vocally advocate" (just as you've offered) results from your visit to vendor's nearest Sales Office!
"Petition going" has (little) chance - likely delays/defeats your declared purpose! (by retreating - far - from your promise of "vocal advocacy"...)
Hi BP101,
BP101 said:
You never answered the question if JTAG DAP has priority over the ROM boot loader accessing EMAC0 if RBIAS is missing? In my mind the DAP should gain priority access to flash memory over EMAC0 on the AHB after an ARM core reset, perhaps even after POR.
It got lost in my attempt to explain my interpretation of Peter's post.
The JTAG unfortunately does not have priority over the ROM Boot loader, hence why this problem occurs somewhat regularly. Most of the posts on it begin with 'My JTAG isn't working!'... and the issue gets resolved with the addition of RBIAS and then the device and thus JTAG in turn are happy again.
>addition of RBIAS
>BGA
T_T
BP101, I fixed the post. Sorry for the confusion about programming. My hands don't always type what's in my head perfectly.
Peter Borenstein said:My hands don't always type what's in my head perfectly.
Who don't have that going on at times.
Good news if PCB has reset button (may) be able to race ROM boot loader execution via LM flash programmer being made ready up to point of clicking on program button. Sure would beat taking XTAL off each time after a flash full erase. I know first hand the DAP can loose bus priority when watchdog timer is running background in a previous flashed application.