| Details | Message |
|---|
Read-Only Author Tamir Michael Posted 27-Oct-2009 12:53 GMT Toolset ARM |  Program failure at 80+ degrees Tamir Michael Hello, I was hoping to hear your opinion about a serious problem I have - it is either I solve it or reduce my LPC2478 CPU speed from 72[MHz] to 64[MHz] (11% loss. The problem does not seem to be occurring at lower MHz settings). I posted about this in the past but it was a long time ago. When I place a controller in an environmental chamber and increase the temperature to 80+ Celsius degrees, I often see data abort exceptions, and sometimes I get the impression that the PC takes a hike (even the firmware LED that blinks every 1 second becomes irregular for a while before it stops). The program is launched by a boot loader and has a lower level supporting firmware layer that handles some interrupts (not all). I also see that if RTX is not started at all (but the application hangs in a "for (;;)" loop instead, hence the bootloader and firmware layer were/are involved, but the application is idle) - the system never crashes! I have excluded, as far as I could tell, the roll of external memory or RTX in this situation. However, I still suspect RTX a little (even though my test programs never crashed). My question: did you ever encounter such a situation? Where do I look best? can this be the result of a misbehaving peripheral? NXP have confirmed the LPC2478 is not the reason. |
|
Read-Only Author Christoph Franck Posted 27-Oct-2009 13:07 GMT Toolset ARM |  RE: Program failure at 80+ degrees Christoph Franck NXP have confirmed the LPC2478 is not the reason. Odd ... the maximum allowed ambient temperature for the commercial version of the chip is 85 degrees Celsius. "80+ degrees" sounds awfully close to that. Besides the CPU, there are a few other possible suspects, like the power supply. I wouldn't exclude the external memory until after a thorough examination - at 80 °C the external memory interface of the chip might be operating close to its worst-case specs. Another candidate for investigation is the flash memory of the chip (if it is used). |
|
Read-Only Author Tamir Michael Posted 27-Oct-2009 13:07 GMT Toolset ARM |  RE: Program failure at 80+ degrees Tamir Michael more data: if I empty all the RTX tasks - I experience no crash. How can the temperature determine the behavior, assuming all the components support these temperatures (they do) ? |
|
Read-Only Author Christoph Franck Posted 27-Oct-2009 13:11 GMT Toolset ARM |  RE: Program failure at 80+ degrees Christoph Franck Another thing: I assume those 80 degrees are the temperature inside the environmental test chamber. Is the device in some kind of case or enclosure, so that the components might experience higher temperatures? If so, it might be worth to stick a thermometer in there and check. |
|
Read-Only Author Hans-Bernhard Broeker Posted 27-Oct-2009 21:21 GMT Toolset ARM |  RE: Program failure at 80+ degrees Hans-Bernhard Broeker if I empty all the RTX tasks - I experience no crash. Hmmm... if there's nothing being done any more by any task, and the system crashes: how exactly did you expect to experience that fact? How can the temperature determine the behavior, assuming all the components support these temperatures (they do) ? Maybe because that assumption is wrong, or some components are actually hotter than you think they are, or this close to their thermal limits, enough components have begun to change in behaviour that your electronic design has been driven beyond at least one of its design margins. This is pretty much guaranteed to be a hardware problem. The only way heat can affect software behaviour is by affecting hardware first. |
|
Read-Only Author Stunned Steve Posted 28-Oct-2009 08:28 GMT Toolset ARM |  RE: Program failure at 80+ degrees Stunned Steve "The only way heat can affect software behaviour is by affecting hardware first." Unless the OP is [once again] using undocumented RTX calls ;) |
|
Read-Only Author Per Westermark Posted 28-Oct-2009 12:48 GMT Toolset ARM |  RE: Program failure at 80+ degrees Per Westermark The RTX call in question wasn't undocumented. As a matter of fact, the RTX call might actually be incorrectly - or at least misleadingly - documented. Without the source for the function, I can't prove the correctnes of the documentation, but the documentation did miss reporting one important issue - how the delay function behaved if called at too low frequency. And the no-no part of the documentation looked more like a "you should think about ..." section that somehow had been upgraded into a no-no without a real reason. |
|
Read-Only Author Stunned Steve Posted 28-Oct-2009 13:20 GMT Toolset ARM |  RE: Program failure at 80+ degrees Stunned Steve "... a no-no ... " If something is stated as being a no-no, and someone decides to use it, then they are (in my book) using undocumented details. Hmmm... the sign say's don't open this locked door. I'll break it open anyway. Whoops, they didn't tell me that there was a pride of lions on the other side. |
|
Read-Only Author Per Westermark Posted 28-Oct-2009 13:48 GMT Toolset ARM |  RE: Program failure at 80+ degrees Per Westermark This is an off-topic discussion that has been run already, but a quick summary. Missing information that just should be available for os_itv_wait() is that if you call the function with a delay longer than the timer repeat time, the missed events will be counted and you will get one or more instant returns from the os_itv_wait() when you finally calls it, until you have consumed the back-log. The reason why Keil did say that os_itv_wait() and os_dly_wait() shouldn't be used at the same time is just that a long os_dly_wait() call will result in os_itv_wait() having multiple ticks of back-log. That is not a no-no reason. That is just a "watch out for this". If Keil thought it important to mention os_dly_wait() and os_itv_wait() for the same thread, then they should have documented the real reason, since the real reason can be trigged by many other ways. Any other wait function will give the same result. A too high IRQ load will give the same result. A high-priority task with a lot of work to do with give the same result. So in the end, Keil updated a "think about" into a "no-no" for the wrong reason, and while giving the user too little information to be able to catch all the other _potential_ problems of using os_itv_wait() in relation to other code. |
|
Read-Only Author Stunned Steve Posted 28-Oct-2009 14:08 GMT Toolset ARM |  RE: Program failure at 80+ degrees Stunned Steve Just remember how the post started: "If you violate RTX's rule ..." Anyway ... As you say, of topic. But slightly more relevant to Keil tools than use of environmental chambers! |
|
Read-Only Author Tamir Michael Posted 28-Oct-2009 11:29 GMT Toolset ARM |  RE: Program failure at 80+ degrees Tamir Michael Hans-Bernhard, you are right. I am now trying to determine the upper thermal limits of the entire system. it seems a lot more stable now with the production hardware in use - the previous one did use some components whose thermal limits were below 80 degree. so far, 79.3 degrees seem do no harm! |
|
Read-Only Author Stunned Steve Posted 29-Oct-2009 08:10 GMT Toolset ARM |  RE: Program failure at 80+ degrees Stunned Steve "...the previous one did use some components whose thermal limits were below 80 degree." And you found it was failing at 80+ degrees. Well, there's a surprise (not). This thread might well have been started with: "If you violate the thermal specifications ..." |
|
Read-Only Author Chris Burrows Posted 27-Oct-2009 13:15 GMT Toolset ARM |  RE: Program failure at 80+ degrees Chris Burrows No experience of this problem but just a random thought: how susceptible to high temperatures is the quartz crystal that you are using? A quick Google search came up with this statement from a manufacturer: "Operating Temperature: Standard Operating Temperature ranges are generally considered as -20-+70 degrees Celsius (considered "commercial" Operating Temperature), and -40-+85 degrees Celsius (considered "Industrial" Operating Temperature)" |
|
Read-Only Author Tamir Michael Posted 27-Oct-2009 13:26 GMT Toolset ARM |  RE: Program failure at 80+ degrees Tamir Michael thanks for your attention. there is no casing involved (yet): the product is required to operate at temperatures of up to 70 degrees, but it might exceed that if the casing is installed, thus the vigorous testing. the crystal does not seem to be the problem - at least our hardware people said that... NXP claim that the LPC2478 was tested at their labs at up to 105 degrees, and some applications allow for us to 120 degrees...! |
|
Read-Only Author Christoph Franck Posted 27-Oct-2009 13:57 GMT Toolset ARM |  RE: Program failure at 80+ degrees Christoph Franck the crystal does not seem to be the problem - at least our hardware people said that... This is quite likely a hardware problem (I'd wager a few Euros ;) ), so the hardware people should be investigating it or at least be tightly in-the-loop. :) (This means they should be poking the device with scope probes when it is misbehaving.) At least around here, all things related to environmental testing are done by our wonderful hardware people. |
|
Read-Only Author Christoph Franck Posted 27-Oct-2009 14:01 GMT Toolset ARM |  RE: Program failure at 80+ degrees Christoph Franck Another thing: Did you test different devices, and are they all showing the same symptoms? Nothing is more annoying than a wild goose chase that, after many dead ends, resolves to merely being a manufacturing defect. Also, consider using cooling spray to find out which part of the circuit is sensitive to heat. |
|
Read-Only Author Per Westermark Posted 27-Oct-2009 14:18 GMT Toolset ARM |  RE: Program failure at 80+ degrees Per Westermark Does it matter if the processor caches memory accesses? Does it matter if the processor runs at 100% CPU load, or if it sleeps between interrupts? Have the hw guys verified/probed all external signals - oscillator, power, interrupt inputs, voltage references, ... |
|
Read-Only Author Tamir Michael Posted 27-Oct-2009 14:58 GMT Toolset ARM |  RE: Program failure at 80+ degrees Tamir Michael Christoph, Per, I _think_ this is something in the application itself, even though LR indicates the data abort originated from RTX code (that is always the case). I tried to change the tick rate to no avail. Tried cooling spray already - I think the processor is the factor, not sure though. My test applications in the same conditions never crash. Other prints suffer from the same problem, no localized defect... the hardware seems verified. Per, Could you please explain why you asked Does it matter if the processor caches memory accesses? Does it matter if the processor runs at 100% CPU load, or if it sleeps between interrupts? ? |
|
Read-Only Author Per Westermark Posted 27-Oct-2009 16:21 GMT Toolset ARM |  RE: Program failure at 80+ degrees Per Westermark The CPU load will affect the power consumed by the processor which will affect the additional heating internally. It will add extra stress to both processor and power supply. Caching of memory will both affect CPU load, but also memory timing. If the supply voltage isn't stable or is slightly changing, or the oscillator is jittering or slightly changing frequency, the safety margins can be reduced. If the chip is running with DRAM, then the refresh needs will be higher at high temperatures but the RAM access patterns can hide the refresh problem. Caching of RAM will change the access pattern and hence change the amount of refresh from normal access cycles. At room temperature, the DRAM refresh may be several times too slow without any problems possible to see because the much slower self-discharge at room temperature. |
|
Read-Only Author Tamir Michael Posted 27-Oct-2009 16:34 GMT Toolset ARM |  RE: Program failure at 80+ degrees Tamir Michael Per, thanks. I tried refining the parameters of the DRAM according to the data sheet - it is speced to work until 85 degrees, to no avail. but the DRAM is a suspect, as it seems to make a difference if I cool only that component... |
|
Read-Only Author Christoph Franck Posted 27-Oct-2009 23:23 GMT Toolset ARM |  RE: Program failure at 80+ degrees Christoph Franck even though LR indicates the data abort originated from RTX code (that is always the case). Does the RTX code do anything that the regular code does not (or only infrequently)? For example: - Run from internal flash - Use internal RAM |
|
Read-Only Author Tamir Michael Posted 28-Oct-2009 09:15 GMT Toolset ARM |  RE: Program failure at 80+ degrees Tamir Michael guess what Christoph, how the failure happens somewhere else (LR indicates a non-existing "internal RAM" like address) so I cannot answer your question (I did not write down the data yesterday, darn!). I have asked Samsung to advise us about the changing timing of the DRAM at high temperature. |
|
Read-Only Author Tamir Michael Posted 28-Oct-2009 10:49 GMT Toolset ARM |  RE: Program failure at 80+ degrees Tamir Michael I am working with the production revision of the hardware. this one seems more stable, but still fails. if I learn something new, I will post it. |
|
Read-Only Author viktor bucher Posted 28-Oct-2009 10:55 GMT Toolset ARM |  RE: Program failure at 80+ degrees viktor bucher Maybe it is a solder problem. |
|
Read-Only Author Tamir Michael Posted 28-Oct-2009 10:56 GMT Toolset ARM |  RE: Program failure at 80+ degrees Tamir Michael I doubt it. it occurs on many systems, and the hardware has been verified. |
|
Read-Only Author Stunned Steve Posted 28-Oct-2009 11:12 GMT Toolset ARM |  RE: Program failure at 80+ degrees Stunned Steve "if I learn something new, I will post it." Like when something is not related to Keil tools. Egads. |
|
Read-Only Author Tamir Michael Posted 28-Oct-2009 11:15 GMT Toolset ARM |  RE: Program failure at 80+ degrees Tamir Michael I understand that you have serious problems in finding something that invokes your intellect. do yourself (and us all, unless you have something meaningful to say) a favor, then: be gone. |
|
Read-Only Author Leandro Gentili Posted 28-Oct-2009 11:26 GMT Toolset ARM |  RE: Program failure at 80+ degrees Leandro Gentili If you think that the DRAM is the problem, I would try: - To do a small app where: write to the whole memory (at the highest bandwidth) and then verify. Make an infinite loop waiting for a fail or exception. - Write down info like time-temp. - Run the app for DRAM and then for IRAM or if you have many boards do it at the same time with 3-4 of them. |
|
Read-Only Author Nevill Dayley Posted 28-Oct-2009 11:31 GMT Toolset ARM |  RE: Program failure at 80+ degrees Nevill Dayley Try increasing the temperature to see if the problem gets any worse. |
|
Read-Only Author Tamir Michael Posted 28-Oct-2009 11:31 GMT Toolset ARM |  RE: Program failure at 80+ degrees Tamir Michael Leandro, Despite "stunned Steve"'s doubt about me, I have already tried this (but thanks for the tip anyway) - all my test programs, including the one you described work well under the above conditions and worse. still searching for the smoking gun/component! |
|
Read-Only Author Stunned Steve Posted 28-Oct-2009 11:37 GMT Toolset ARM |  RE: Program failure at 80+ degrees Stunned Steve Despite "stunned Steve"'s doubt about me Should of course read: Despite "stunned Steve"'s doubts about me |
|
Read-Only Author Tamir Michael Posted 28-Oct-2009 11:43 GMT Toolset ARM |  RE: Program failure at 80+ degrees Tamir Michael Despite "stunned Steve"'s doubts about me I guess you (unlike me, unfortunately...) have found your smoking gun. _SNIFF_ ! |
|
Read-Only Author Nevill Dayley Posted 28-Oct-2009 11:54 GMT Toolset ARM |  RE: Program failure at 80+ degrees Nevill Dayley Have you checked for dry joints? |
|
Read-Only Author Tamir Michael Posted 28-Oct-2009 11:59 GMT Toolset ARM |  RE: Program failure at 80+ degrees Tamir Michael Nevill, Yes, but not me personally. It seems that until 80 degrees (and perhaps slightly more) everything is fine, but them there is a rapid failure as the temperature increases. can it be that the coating in the print disturbs heat dissipation? |
|
Read-Only Author Nevill Dayley Posted 28-Oct-2009 12:22 GMT Toolset ARM |  RE: Program failure at 80+ degrees Nevill Dayley What is the humidity of your test chamber? |
|
Read-Only Author Tamir Michael Posted 28-Oct-2009 12:24 GMT Toolset ARM |  RE: Program failure at 80+ degrees Tamir Michael humidity: 0%. |
|
Read-Only Author Nevill Dayley Posted 28-Oct-2009 12:34 GMT Toolset ARM |  RE: Program failure at 80+ degrees Nevill Dayley "humidity: 0%." Whew, dry heat man. Doesn't sound likely to use. Are you absolutely sure about that? |
|
Read-Only Author Tamir Michael Posted 28-Oct-2009 12:37 GMT Toolset ARM |  RE: Program failure at 80+ degrees Tamir Michael well, the control panel of the chamber says: "current value: 0". my girlfriend could use the air inside to feed her hair dryer...do you think I should test another setting (but I think that increased humidity will hurt heat dissipation, not...?) ? |
|
Read-Only Author Nevill Dayley Posted 28-Oct-2009 12:45 GMT Toolset ARM |  RE: Program failure at 80+ degrees Nevill Dayley It may say 0, but it's very unlikely that humidity in the test chamber is really 0%. |
|
Read-Only Author Tamir Michael Posted 28-Oct-2009 12:47 GMT Toolset ARM |  RE: Program failure at 80+ degrees Tamir Michael of course, I realize that. |
|
Read-Only Author Christoph Franck Posted 28-Oct-2009 12:30 GMT Toolset ARM |  RE: Program failure at 80+ degrees Christoph Franck can it be that the coating in the print disturbs heat dissipation?<p> Hm, the whole print is coated (including the components)? |
|
Read-Only Author Tamir Michael Posted 28-Oct-2009 12:32 GMT Toolset ARM |  RE: Program failure at 80+ degrees Tamir Michael Hm, the whole print is coated (including the components)? yes. |
|
Read-Only Author Christoph Franck Posted 28-Oct-2009 13:23 GMT Toolset ARM |  RE: Program failure at 80+ degrees Christoph Franck yes. In that case, a look at the thermal properties of the coating material might be in order. And maybe a test with an uncoated unit, if available. |
|
Read-Only Author Per Westermark Posted 28-Oct-2009 12:53 GMT Toolset ARM |  RE: Program failure at 80+ degrees Per Westermark Remember that a loop continuously accessing the DRAM will look like a super-charged RAM refresh. For problems with RAM refresh, it is often better to fill the RAM with a known pattern and then make sure that the RAM is not touched for a long time so that the only refresh there is comes from the DRAM controller performing background refreshes. Then revisit the chip one every hour and verify that the pattern is still correct. |
|
Read-Only Author Tamir Michael Posted 28-Oct-2009 12:55 GMT Toolset ARM |  RE: Program failure at 80+ degrees Tamir Michael Per, that's a good idea that I haven't tried yet. thanks! |
|
Read-Only Author Tamir Michael Posted 28-Oct-2009 17:19 GMT Toolset ARM |  RE: Program failure at 80+ degrees Tamir Michael this situation seems to be directly related to the external RAM being addressed by both the application and the LCD controller. if the refresh rate of the LCD controller is reduced, or another type of software is flashed on the controller that does not benefit from the LCD controller - the issue disappears. I will have to adjust the timing parameters of my external RAM, it seems. |
|
Read-Only Author Stunned Steve Posted 28-Oct-2009 19:10 GMT Toolset ARM |  RE: Program failure at 80+ degrees Stunned Steve For the amount of stuff (and content of the stuff) you're posting, you would be better off with twitter :o |
|
Read-Only Author Tamir Michael Posted 28-Oct-2009 19:57 GMT Toolset ARM |  RE: Program failure at 80+ degrees Tamir Michael I don't know about you, but for me, these problems are the cream of the crop of this kind of line of work. almost every problem is a mystery, every problem can be solved (?) in different ways. did I enjoy sitting 3 days in front of an environmental chamber (I have a few burn makes!) ? no way, and the problem is not solved yet (but the probable cause known). but in the end, it is/was a lot of fun! |
|
Read-Only Author Leandro Gentili Posted 28-Oct-2009 20:24 GMT Toolset ARM |  RE: Program failure at 80+ degrees Leandro Gentili I don't know about you, but for me, these problems are the cream of the crop of this kind of line of work. almost every problem is a mystery, every problem can be solved (?) in different ways. did I enjoy sitting 3 days in front of an environmental chamber (I have a few burn makes!) ? no way, and the problem is not solved yet (but the probable cause known). but in the end, it is/was a lot of fun! I second this!!, thats a real engineer soul, we are in some way... masochist geeks :) |
|
Read-Only Author Stunned Steve Posted 28-Oct-2009 21:30 GMT Toolset ARM |  RE: Program failure at 80+ degrees Stunned Steve "I second this!!, thats a real engineer soul, we are in some way... masochist geeks :)" I would totally agree with that, I've been involved in plenty of projects where I've been totally engrossed for weeks/months on end, keeping a note pad by my bed for when I wake up with 'the ultimate answer' (much to the annoyance of my beloved wife). But ... the difference is, most don't keep trying to share this random blabber out. Have you ever been to a party and sat next to Mr. Boring? |
|
Read-Only Author Hans-Bernhard Broeker Posted 28-Oct-2009 20:58 GMT Toolset ARM |  RE: Program failure at 80+ degrees Hans-Bernhard Broeker related to the external RAM being addressed by both the application and the LCD controller. A conclusion you made impossible for anyone else to arrive at, by not mentioning anything about an LCD before, much less that it shared external RAM with the CPU. Is that dual-ported RAM, or how else do you organize shared access? |
|
Read-Only Author Leandro Gentili Posted 28-Oct-2009 21:25 GMT Toolset ARM |  RE: Program failure at 80+ degrees Leandro Gentili The data transfers LCDController <-> Memory are done by DMA, and there is an automatic mechanism for arbitration, This should not be a problem. But it should be taked into account if the Video Buffer is located in DRAM and you want to test the DRAM PerÂ's suggestion. |
|
Read-Only Author Leandro Gentili Posted 28-Oct-2009 20:27 GMT Toolset ARM |  RE: Program failure at 80+ degrees Leandro Gentili Remember that a loop continuously accessing the DRAM will look like a super-charged RAM refresh. For problems with RAM refresh, it is often better to fill the RAM with a known pattern and then make sure that the RAM is not touched for a long time so that the only refresh there is comes from the DRAM controller performing background refreshes. Then revisit the chip one every hour and verify that the pattern is still correct. True. Then, for DRAM memories the test case should be: fast access and slow access. |
|
Read-Only Author Per Westermark Posted 29-Oct-2009 00:26 GMT Toolset ARM |  RE: Program failure at 80+ degrees Per Westermark Note that fast/slow accesses for a DRAM would most often be the actual timing of the signals. How long time for signals to settle, or to hold. Number of wait states. There are quite a lot of tests needed for memory. Some for prototypes. Some for factory production. Some for every boot or maybe even regularly when run. - correct supply voltages at all temperatures and loads - correct timing of signals - good flanks and high/low logic levels for signals - all unused chip-selects etc having pull-up/pull-down - correctly wired (no shorts/breaks) - all memory cells working - stability at maximum load at low/high temperature - stability at zero load at low/high temperature (refresh working) - low-power retention (mainly SRAM with super-cap or battery) - ... |
|
Read-Only Author Tamir Michael Posted 6-Nov-2009 18:03 GMT Toolset ARM |  AHBCFGx settings Tamir Michael Hello, I have learned a little more about this problem in the mean time and was wondering if you can enlighten me further. I am currently running a weekend test of a controller that utilizes the LCD controller of the LPC2478 vs. a controller that does not. The first one is reduced to 64 [MHz] while the second one still runs at 72[MHz], and they communicate via a RS485 bus. Hopefully this remains stable but either way, I have just reduced the display's processing capacity by 12%... 'Samsung' have promised me that their DRAM (K4S561632J) does not suffer from any issues and that the EMC timing settings used now should apply to the entire range of temperatures (maybe the controller was not warmed up entirely or long enough when I concluded otherwise). I am not sure about the refresh rate, but either way I did try to play with it without any positive results. I am aware that the signals to the DRAM should be measured, but that is not so simple at 80+ degrees. The latest LPC24xx data sheet elaborates on the AHBCFGx registers which determine the arbitration of the AHB busses (my LCD, DRAM and peripheral(MCI interface uses GPDMA) hang on AHB1) . This is a very fundamental setting that I have no experience changing. Do you think this could help me out? I did a few tests with a negative result, but I feel that I have not exhausted it. Either way, can you think of another system setting that might influence this particular problem? I have, for now, ruled out bad traces and noise as another controller (without an LCD) uses the same hardware design and accesses to external RAM (MCI DMA) ) does not crash. |
|
Read-Only Author Simon Eversfield Posted 6-Nov-2009 20:52 GMT Toolset ARM |  RE: AHBCFGx settings Simon Eversfield What does the manual say? Try http://www.embeddedrelated.com/groups/lpc2000/show/35996.php |
|
Read-Only Author Tamir Michael Posted 7-Nov-2009 13:00 GMT Toolset ARM |  RE: AHBCFGx settings Tamir Michael I have found this reference myself, but unfortunately NXP do no explain the impact of modifying these registers. It is of course exceedingly hard to solve a problem that you do not fully understand with tools you do not fully understand... I believe this has something do to with how DMA/LCD DMA and the processor interact with the AHB bus, which changes slightly when temperature rises. I asked NXP to confirm that they have tested the LCD controller of the LPC2478 at these extreme temperatures but they have not replied yet. |
|
Read-Only Author Nevill Dayley Posted 7-Nov-2009 15:49 GMT Toolset ARM |  RE: AHBCFGx settings Nevill Dayley If only you hadn't upset Master Zeusti. |
|
Read-Only Author Tamir Michael Posted 7-Nov-2009 16:01 GMT Toolset ARM |  RE: AHBCFGx settings Tamir Michael Right now I am willing to use just about any help - Zeusti, that Steve figure from above, anything. It is either I solve this, or (assuming the system survives the weekend test!) CPU speed for the display has to go down to 64[MHz] ! |
|
Read-Only Author erik malund Posted 7-Nov-2009 23:31 GMT Toolset ARM |  I quickread this thread and did not see .... erik malund It is either I solve this, or (assuming the system survives the weekend test!) CPU speed for the display has to go down to 64[MHz] ! I quickread this thread and did not see it mentioned that the internal heat generated by the chip is proportional to the clock speed. NXP claim that the LPC2478 was tested at their labs at up to 105 degrees, and some applications allow for us to 120 degrees...! Under which operating conditions?? Erik |
|
Read-Only Author Tamir Michael Posted 8-Nov-2009 08:37 GMT Toolset ARM |  RE: I quickread this thread and did not see .... Tamir Michael Erik, Thanks for your comments. The answer to your questions is that I do not know: NXP did not elaborate, as far as I can tell, on the exact environmental conditions used to test the chip in any report I could get my hands on. I just don't have enough data to handle this properly...! And you are right: Going down to 64[MHz] might just mask a still existing problem. But at the moment, I don't have any other choice - product beta (thus, installation at the client site) phase is approaching. |
|
Read-Only Author Tamir Michael Posted 9-Nov-2009 08:26 GMT Toolset ARM |  RE: I quickread this thread and did not see .... Tamir Michael OK, twittering continues. The display at 64[MHz] made it though the weekend. There are a couple of display related issues, but it is alive! |
|
Read-Only Author Stunned Steve Posted 9-Nov-2009 08:33 GMT Toolset ARM |  OK, twittering continues. Stunned Steve "...it is alive!" I can breathe again. (Not to be confused with a yawn.) |
|
Read-Only Author Tamir Michael Posted 9-Nov-2009 08:34 GMT Toolset ARM |  RE: OK, twittering continues. Tamir Michael I will sure to keep you up to speed, Stunned Steve. Hang in there! |
|
Read-Only Author Tamir Michael Posted 9-Nov-2009 14:25 GMT Toolset ARM |  RE: OK, twittering continues. Tamir Michael As promised, I have an update that might interest operators of a LPC2470/78 using the LCD controller. I have found that: 1. lowering the CPU clock speed to 64[MHz] at 80+ degrees seems to stabilize the system. There are no additional legal PLL settings between 72[MHz] and 64[MHz] that support USB, I'm afraid. 2. This code
AHBCFG1 &= ~1 ;
AHBCFG1 |= (3<<12) ;
AHBCFG1 |= (4<<16) ;
AHBCFG1 |= (2<<20) ;
AHBCFG1 |= (1<<24) ;
AHBCFG1 |= (5<<28) ;
when placed in main() {the data sheet does not specify that these fundamental settings are disallowed in application code and indeed they work}, will put the LCD in the most preferred position to access the AHB1 bus. This prevents image jitter and distortion when doing time consuming drawing on the LCD at 64[MHz]. |
|
Read-Only Author Stunned Steve Posted 9-Nov-2009 15:24 GMT Toolset ARM |  RE: OK, twittering continues. Stunned Steve "(I have a new, interesting post)" Where? There's a new post, but surely interesting is not a true description? Or was that an attempt at irony? |
|
Read-Only Author Tamir Michael Posted 9-Nov-2009 15:55 GMT Toolset ARM |  RE: OK, twittering continues. Tamir Michael Not knowing your true name, I must wonder: have you ever posted something useful on this (or any other) forum? please stop hijacking my thread. I'm trying to be informative (=helpful). if you are in a mood for child's play, I suggest you go to a kindergarten. |
|
Read-Only Author Stunned Steve Posted 9-Nov-2009 16:00 GMT Toolset ARM |  I'm trying to be informative (=helpful). Stunned Steve Is that you being serious again? Have you tried looking for the Keil command line option -SetMaxTemp=80 You'll not find it. It's not a Keil related problem. |
|
Read-Only Author Tamir Michael Posted 9-Nov-2009 16:04 GMT Toolset ARM |  RE: I'm trying to be informative (=helpful). Tamir Michael this really is beyond you, ha? this is an issue that might effect Keil USERS and the safety of their product since Keil supports the LPC2478, thus very much their concern. Apart from that, I don't remember asking you when, if or what I may or may not post. Just go away, it won't help you. |
|
Read-Only Author Stunned Steve Posted 9-Nov-2009 16:25 GMT Toolset ARM |  Problems, magnets. Stunned Steve Ok. You're obviously happy with your tenuous links. |
|
Read-Only Author Jack Sprat Posted 9-Nov-2009 16:03 GMT Toolset ARM |  RE: OK, twittering continues. Jack Sprat There are no additional legal PLL settings between 72[MHz] and 64[MHz] that support USB, I'm afraid. Have you eliminated the PLL as the cause of the problem? We do some very high temperature stuff and have had problems with PLLs becoming unstable or ceasing to function altogether in devices that have worked fine with an external oscillator. |
|
Read-Only Author Tamir Michael Posted 9-Nov-2009 16:06 GMT Toolset ARM |  RE: OK, twittering continues. Tamir Michael Jack, As I have mentioned, I have another flavor of this product that does not use the LCD controller but is almost identical in any way (processor print, external RAM etc.). It does not crash under the same conditions. Our hardware guy promised me that the crystal is not the issue. He did not measure yet, though. |
|
Read-Only Author Tamir Michael Posted 24-Nov-2009 14:12 GMT Toolset ARM |  RE: OK, twittering continues. Tamir Michael A small update: Our hardware guy has installed an extra resister across the DRAM clock input and it seems to do wonders! We saw that the first 2 clock pulses of a refresh cycle were far from perfect. On the other hand, this could be an issue with the particular DRAM. Soon we will try another one, and will know for sure. |
|
Read-Only Author Per Westermark Posted 24-Nov-2009 14:45 GMT Toolset ARM |  RE: OK, twittering continues. Per Westermark What do you mean "across"? Having a resistor in series with high-speed signals will reduce the rise/fall times. It will reduce the amount of radiated noise but can also solve problems with ringing signals where the input side may see multiple toggles. Having too large resistor will on the other hand produce a shark tooth waveform where you either don't reach the full voltage swing fast enough or where the flanks are so slow that an input without schmitt-trigger will get false readings. |
|
Read-Only Author Tamir Michael Posted 24-Nov-2009 14:46 GMT Toolset ARM |  RE: OK, twittering continues. Tamir Michael I meant: "in series". Sorry! |
|
Read-Only Author Per Westermark Posted 24-Nov-2009 14:54 GMT Toolset ARM |  RE: OK, twittering continues. Per Westermark No problem. I did write a bit of ambiguous text too. I wrote "will reduce the rise/fall times" but should probably have written "will slow down the rise/fall", since the rise and fall times are actually increased :) |
|
Read-Only Author Stunned Steve Posted 24-Nov-2009 20:43 GMT Toolset ARM |  Sign of the times. Stunned Steve Whatever happened to the days where people involved in firmware knew something about the fundamentals of the hardware on which their code would run? |
|
Read-Only Author Per Westermark Posted 24-Nov-2009 20:53 GMT Toolset ARM |  RE: Sign of the times. Per Westermark Whatever happended to the days when people on the net always tried to help and be productive, instead of focusing 100% of all comments on harassing people? |
|
Read-Only Author Tamir Michael Posted 25-Nov-2009 07:25 GMT Toolset ARM |  RE: Sign of the times. Tamir Michael Stunned character, I never used this word on this forum (I apologize to the rest of you in advance) as far as I can recall, but you really are an idiot. Really. |
|
Read-Only Author Stunned Steve Posted 25-Nov-2009 07:37 GMT Toolset ARM |  QUOTE: but you really are an idiot Stunned Steve <sigh/> |
|
Read-Only Author Tamir Michael Posted 25-Nov-2009 07:44 GMT Toolset ARM |  RE: QUOTE: but you really are an idiot Tamir Michael Whatever happened to the days where people involved in firmware knew something about the fundamentals of the hardware on which their code would run? Interesting argument. FYI, the erroneous clock signal was a direct product of higher temperature. One can induce this using even something as simple as a warm air blower directed at the DRAM, but this behavior is not documented anywhere nor does it happen with other DRAMs. So you see, this is what happens when one focuses on making empty arguments for the sake of making them rather than on the facts. This is engineering man, not religion. |
|
Read-Only Author Stunned Steve Posted 25-Nov-2009 08:17 GMT Toolset ARM |  RE: QUOTE: but you really are an idiot Stunned Steve "the erroneous clock signal was a direct product of higher temperature." You stun me with every detail you provide. "This is engineering man..." LOL |
|
Read-Only Author Tamir Michael Posted 25-Nov-2009 08:19 GMT Toolset ARM |  RE: QUOTE: but you really are an idiot Tamir Michael Next time you go the liqueur store, Steve, try to be polite and remove the hard glued sticker from your forehead: "Born to be a loser". |
|
Read-Only Author Stunned Steve Posted 25-Nov-2009 08:41 GMT Toolset ARM |  QUOTE: Born to be a loser Stunned Steve <sigh/> |
|