This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Memory for XC167

First, I'm mostly an analog engineer just now getting into microcontroller design. I'll be using the XC167 and am have trouble finding external memory. I have 12MB of external memory area and am therefore looking for 12MB of memory. Ive been looking for synchronous DRAM but can only find 64MB and greater.
Does anybody have recommendations for external memory?

Parents
  • "Thus if it is "unusual" and no reason is given I try to provoke an answer."

    No you don't - you just state that the poster is wrong.

    If you have a better way to provoke an answer, I would like to know it.

    The guy has stated that 12Mb of memory is what he's been told to provide If "I have 12MB of external memory area" is being "told to provide", then the english language has changed.

    "Due to your cuddeling no answer has yet come forth from the OP in this thread."

    I've no idea what 'cuddeling' is, and I'm unable to see how you can know that whatever it is has affected whether the OP chooses to answer your question.

    It sure has, his "answer" is "You guys are hilarious......LOL" instead of "I need 12 M because". re "cuddeling": when I try to make the OP state a why, you always come in and post "there is no reason to tell us why, we will give help you go anywhere you want without any concern for whether it is the right path.
    Again, If someone ask for a gun, I check for a potential suicide, you provide the gun.

    You do your thing, I do mine but PLEASE stay away from comments about my persona, if you have something techincal to add, by all means do.

    Erik

    To all:
    I am sorry that when Stefan attacked my person, I responded the same way, I should not have done that.

Reply
  • "Thus if it is "unusual" and no reason is given I try to provoke an answer."

    No you don't - you just state that the poster is wrong.

    If you have a better way to provoke an answer, I would like to know it.

    The guy has stated that 12Mb of memory is what he's been told to provide If "I have 12MB of external memory area" is being "told to provide", then the english language has changed.

    "Due to your cuddeling no answer has yet come forth from the OP in this thread."

    I've no idea what 'cuddeling' is, and I'm unable to see how you can know that whatever it is has affected whether the OP chooses to answer your question.

    It sure has, his "answer" is "You guys are hilarious......LOL" instead of "I need 12 M because". re "cuddeling": when I try to make the OP state a why, you always come in and post "there is no reason to tell us why, we will give help you go anywhere you want without any concern for whether it is the right path.
    Again, If someone ask for a gun, I check for a potential suicide, you provide the gun.

    You do your thing, I do mine but PLEASE stay away from comments about my persona, if you have something techincal to add, by all means do.

    Erik

    To all:
    I am sorry that when Stefan attacked my person, I responded the same way, I should not have done that.

Children
  • "If you have a better way to provoke an answer, I would like to know it."

    You could try the normal method - asking a polite question?

    "If "I have 12MB of external memory area" is being "told to provide", then the english language has changed."

    If you were to read his other posts all would be revealed:

    "I am a Hardware Engineer being given requirements by software as far as how much memory."

    "It sure has, his "answer" is "You guys are hilarious......LOL" instead of "I need 12 M because"."

    You'll notice, however, that he made that comment before I entered into this thread. Do you not realise it's a reaction to *your* badgering?

    "re "cuddeling": when I try to make the OP state a why, you always come in and post "there is no reason to tell us why, we will give help you go anywhere you want without any concern for whether it is the right path."

    No, I'm just trying to achieve some sort of balance where posters are given some credit for having a clue, and opinions stated as though they were facts are not allowed to overwhelm the forum.

    You still haven't explained what 'cuddeling' means.

    "if you have something techincal to add, by all means do"

    It's pointless - you'll defend an untenable position for a while, then you simply stop responding to points that you've been picked up on.

    " I am sorry that when Stefan attacked my person, I responded the same way, I should not have done that."

    I didn't notice a personal attack?

  • It's pointless - you'll defend an untenable position for a while, then you simply stop responding to points that you've been picked up on.

    " I am sorry that when Stefan attacked my person, I responded the same way, I should not have done that."

    I didn't notice a personal attack?


    "It's pointless - you'll ....", If the above is not a "personal attack" pray tell what it is, I see nothing related to a technical problem.

    Anyhow I will say no more since answering any of the above would be answering "comments on the person rather than the technical issue" with "comments on the person rather than the technical issue" which has no place in a technical forum.

    As to the original issue, I still doubt that 12M is the right size, but that got lost in the "comments on the person rather than the technical issue"

    Erik

  • Yeah I'm starting to get a headache over this much memory.......Apparently the software engineer was told he may need upto 2MB just for fonts for multiple languages (Korean type fonts?). He wants all of it there for development though.
    Now I have a question based on your experience using this processor. Basically I'm not far enough along to know how fast you can actually access memory, i.e. how many instruction cycles? Is fast sram (10ns) much faster than standard sram with a 70ns response time? The XC167 is only 40Mhz. I know the memory itself is much faster, but is there really a big difference in this application?

    Im considering using Psuedo SRAM.......I know you have an opinion, dont be shy......LOL

  • ""It's pointless - you'll defend an untenable position for a while, then you simply stop responding to points that you've been picked up on.", If the above is not a "personal attack" pray tell what it is, I see nothing related to a technical problem."

    How you can misconstrue that as a personal attack is beyond me. It was what has turned out to be a perfectly accurate prediction of your response based on your posting history. The fact that it contained no technical content does *not* make it a personal attack.

    What it does express, however, is the futility of attempting to engage you in a technical discussion due to your refusal to even consider the possibility that your 'one size fits all' opinions are not universal truths.

    "As to the original issue, I still doubt that 12M is the right size"

    As usual, based on exactly zero knowledge of the application.

    "but that got lost in the "comments on the person rather than the technical issue"

    I don't know anything about your 'person' other than what you write on this forum. Anything you post here is open to debate - that's what a forum is for. If you post your baseless opinions as facts you'd better expect me to disagree with them. If that hurts your feelings, well, too bad.

  • Yeah I'm starting to get a headache over this much memory.......Apparently the software engineer was told he may need upto 2MB just for fonts for multiple languages (Korean type fonts?). He wants all of it there for development though.
    RE fonts; I have yet to see an app with fonts in SRAM, I have seen a plethora of apps with fonts in Flash. I have - among several others - done a limited Japanese which took about 400k.

    Now I have a question based on your experience using this processor. Basically I'm not far enough along to know how fast you can actually access memory, i.e. how many instruction cycles?
    I'm sorry, but here you will need to refer to the data sheet, so many factors influence this.

    Is fast sram (10ns) much faster than standard sram with a 70ns response time?
    Well, I'll take a guess that it is 7 times faster :)

    I know the memory itself is much faster, but is there really a big difference in this application? I do not recall if the 167 is one of the chips with a software programmable memory timing, if it is this will be a need vs cost decision

    Get at this "programmer"s butt and get it clear what (s)he need in flash (program, fonts and other permanent storage) and how much in SRAM. I would not be surprised if you end up with just one SRAM chip

    Erik

    PS in Flash you can get much more memory per chip than with SRAM (unless someone know about some chips I have not heard about)

  • Mike,

    I'm sorry your thread has been hijacked. I'd love to help but I'm not familiar with the XC167. Given that you are just starting out with microcontroller design I'd suggest that you spend a couple (more) days studying the datasheet and application notes for the device, all should become clear. I did have a quick look at the documentation for this part available on Keil's website and it looks pretty comprehensive.

  • As usual, based on exactly zero knowledge of the application.
    1) absolutely correct at that time I had "exactly zero knowledge of the application", However a board with 24 memory chips is "rather unique" isn't it?.
    2) your criticism of my statement "it is not so" is based on you having "exactly zero knowledge of the application" so where is the difference in the qualification of the post.
    3) now see in other postings what is coming out of the fact that my "baseless opinions as facts" brought out a more complete description of the app so that "exactly zero knowledge of the application" is no longer true. This enabled me to give the OP some "real" help.

    If you post your baseless opinions as facts you'd better expect me to disagree with them. If that hurts your feelings, well, too bad.
    I have no problem with you disagreening with what I say, but I have a problem with you commenting on how I say it. I just ask that you disagree with the content, not the verbage. I realize that you think that if someone want to put 12Mbyte SRAM (24 memory chips) on a board that is "normal". That is fine, but is it not very interesting that while you have been busy arguing my verbage, I, not you, ended up posting solutions for the OP. No feelings are hurt, just PLEASE: disagree all you want with the content of my posts, my verbage is mine and if it offends you tough!.

    Erik

  • "Basically I'm not far enough along to know how fast you can actually access memory, i.e. how many instruction cycles? Is fast sram (10ns) much faster than standard sram with a 70ns response time? The XC167 is only 40Mhz. I know the memory itself is much faster, but is there really a big difference in this application?"

    This really depends on many things, but I would guess that 70ns is fast enough. The fastest loop to copy data from one place to another I can think of looks something like this:

    ; R1 = source address
    ; R2 = destination address
    ; R3 = address of R0
    ; R4 = source data end address
    
    LOOP:  MOV  R0,[R1+]    ;read source word
           MOV  [R2+],[R3]  ;write to destination
           CMP  R1,R4       ;end of data?
           JMPR cc_ULT,LOOP ;jump if not
    

    The fastest execution time of this loop at 40MHz is 100ns if it executes from the XC167 Program RAM and the core doesn't have to wait for data read/write to complete. So this is too fast for 70ns RAM only if the source and destination are on the same RAM. If there is only one access to the RAM in the loop or the code executes from anywhere else than Program RAM, 70ns will do.

    If you really need as much RAM as you say, you will be using far, huge or xhuge memory type to access it, which adds to the loop execution time unless you go through the trouble of writing it in assembly using DPP addressing as in my example.

    This was my estimation which may well be wrong. Infineon has quite good documentation about the timing, but so many things affect it that it is difficult to calculate what the actual timing will be.

    Sauli

  • "However a board with 24 memory chips is "rather unique" isn't it?."

    In your sphere of experience, maybe. In other applications maybe not.

    "your criticism of my statement "it is not so" is based on you having "exactly zero knowledge of the application" so where is the difference in the qualification of the post."

    It's simple. Based on zero knowledge you say "It is wrong", I say "It may be right, it may be wrong".

    "now see in other postings what is coming out of the fact that my "baseless opinions as facts" brought out a more complete description of the app so that "exactly zero knowledge of the application" is no longer true. This enabled me to give the OP some "real" help."

    It took so long, I suspect, because you never actually asked the OP for a description of his application. Go on, take a look back through the thread. All you did was churn out your usual ignorant barrage of "you're wrong! you're wrong!".

    "I have no problem with you disagreening with what I say, but I have a problem with you commenting on how I say it. I just ask that you disagree with the content, not the verbage."

    Disagreeing with the content is exactly what I have been doing. However, I do have a problem with the way you say things as well. There is a certain expectation in a professional forum that you try to behave in a civilised fashion. Take a look at this quote from another current thread:

    "If someone were to pay me to look at the above code, I would say "no thanks". So, I have absolutely no intention of even glancing at unformatted code for free."

    What a nasty and aggressive way of pointing out that the poster's code wasn't formatted to your liking!

    " I realize that you think that if someone want to put 12Mbyte SRAM (24 memory chips) on a board that is "normal"."

    Yet again you seem to be incapable of grasping my simple point. I am not suggesting that any particular quantity of memory chips is 'normal', I am saying that different applications require different quantities of memory chips. There is no 'normal', and there is certainly no arbitrary limit set by you.

    "That is fine, but is it not very interesting that while you have been busy arguing my verbage, I, not you, ended up posting solutions for the OP."

    Solutions?

    "No feelings are hurt, just PLEASE: disagree all you want with the content of my posts,"

    Thanks for your permission.

    " my verbage is mine and if it offends you tough!."

    Two other regular posters have commented on your 'verbage' and general attitude in recent threads. If this doesn't make you think about your behaviour then your level of ignorance and arrogance is quite extraordinary.

  • Did you get all your fuzzy feelings out, I hope so. There is absolutely no technical merit to your post above. I do not deal in feelings, if that is what you want to discuss, I suggest you find a forum on that subject.

    THE END
    unless you, as before, state that my attempt of terminating this useless discussion is "then you simply stop responding to points that you've been picked up on"

  • Mike, send me a ping at erikm@digrec.com, I have to critisize another techical post and do not want to continue discussing with Stefan how I do it.

    Erik

  • "Did you get all your fuzzy feelings out, I hope so."

    What are 'fuzzy feelings'? Are they the same as the yet unexplained 'cuddeling'?

    "There is absolutely no technical merit to your post above."

    There is technical merit in my post - I point out yet again that your sweeping statements about what is acceptable in a design are incorrect. This is of benefit to anyone who may be misled by those statements.

    "I do not deal in feelings"

    Being an engineer does not exempt you from being part of the human race. It does not give you the right to behave in a way that others find offensive.

    "if that is what you want to discuss, I suggest you find a forum on that subject"

    I have no interest in discussing feelings. I have merely pointed out that I am not alone in finding your attitude at best rude and at worst ignorant.

    "THE END
    unless you, as before, state that my attempt of terminating this useless discussion is "then you simply stop responding to points that you've been picked up on""

    Well, that's exactly what you've done. As predicted.

  • i stated:

    "THE END
    unless you, as before, state that my attempt of terminating this useless discussion is "then you simply stop responding to points that you've been picked up on"
    Ok, you could not resist
    Well, that's exactly what you've done. As predicted.

    NO, NO, NO, NO, and NO again. I am trying to end this useless discussion, but it seems impossible to get you off your high moralistic horse and down to the real life - life is tough, not sweet and cuddling.

    There is technical merit in my post - I point out yet again that your sweeping statements about what is acceptable in a design are incorrect.
    Where do you find "not acceptable" in my post? "I think you are in deep doo-doo" does not say "not acceptable" it says "THINK". Again, this is not what I "find acceptable" it is what I see need clarification.

    Being an engineer does not exempt you from being part of the human race. It does not give you the right to behave in a way that others find offensive.
    If you would PLEASE have a look, you will see that the two "offensive" threads you refer to both have led to clarification followed by a reply. There are many threads where it took a lot of posts to get to the nitty gritty - but you would like the "language", here it took only a few posts (not counting your criticisms which have nothing to do with it) - but you have a problem with the "language".
    I also find it interesting that, as far as I can recall there has never been an OP that found my post "offensive". That it does not take much to get you to feel offended on the behalf of others, is another story.

    Erik

    ONCE MORE

    THE END
    unless you, as before, state that my attempt of terminating this useless discussion is "then you simply stop responding to points that you've been picked up on"

  • "I am trying to end this useless discussion"

    If you want to end the discussion, feel free to leave it. I'm quite happy to continue.

    "Where do you find "not acceptable" in my post? "I think you are in deep doo-doo" does not say "not acceptable" it says "THINK"."

    You also said:

    "ONCE MORE if you need 12Mbyte, you have chosen the wrong processor"

    Which would give me the impression that you think 12MB is 'not acceptable', as it would anyone else reading it.

    "If you would PLEASE have a look, you will see that the two "offensive" threads you refer to both have led to clarification followed by a reply."

    I quoted you from one thread where you you were particularly rude. There is no clarification or reply in that thread, nor an apology.

    "There are many threads where it took a lot of posts to get to the nitty gritty - but you would like the "language", here it took only a few posts (not counting your criticisms which have nothing to do with it) - but you have a problem with the "language"."

    I have more of a problem with the technical content of your posts in this thread than with your language. I have repeatedly explained this problem to you, as has Walt, but you refuse to bend. Instead you focus on complaining that I shouldn't comment on your 'person', 'verbage' or 'language'.

    "I also find it interesting that, as far as I can recall there has never been an OP that found my post "offensive". That it does not take much to get you to feel offended on the behalf of others, is another story."

    You seem to be ruder to newbies than to regular posters. I suspect the newbies aren't sure how to react and therefore keep quiet. I'm not offended in the least, but I do feel sorry for those who find themselves on the receiving end of your attitude.

    "ONCE MORE THE END"

    How many more times do you plan to say that?

    "unless you, as before, state that my attempt of terminating this useless discussion is "then you simply stop responding to points that you've been picked up on""

    Oops! There you go again...

    This discussion wouldn't be useless if you'd actually try and understand it.

  • There is no clarification or reply in that thread,
    Oh yes, ther is an indented code (as I requested) and a reply (from me) about a problem.

    "ONCE MORE THE END"

    How many more times do you plan to say that?

    Till you stop.

    This discussion wouldn't be useless if you'd actually try and understand it.
    I understand it perfectly. As I do not express the same opinion as you, but a dfifferent one, you get upset.

    Erik