Does your code run when you are using a normal non banked test app ? AFACR one has to write one's own banking function when using IAR. You can initially turn this into a test function to switch banks, do a dump of program memory of where you think the code should be, and check if this is in fact the case. As George ha said, IAR sorts out all the nasty details.
Regards Anton Erasmus
Didn't find your answer? Ask the community — no account required.
A
Amir
s
Yes. When used for unbanked, it does work, and everything is fine...It is just that I wanna add more stuff to what I have, and to do that, I need more memory, and I have to take advantage of the full size 128K flash already embedded in the SOC...
Regards, Amir
A
Amir
us
David,
I really donot need any unrelated off-topic free advice. Thank you! We are all mature, and professional, as far as the group members are concerned. I posted a message to seek some help that may be beneficial to everyone. I dont know where all these advicing is coming from..Lets end the unrelated advicing, and talk of beneficial stuff to serve the community as a whole!
Regards, Amir
C
Coos Haak
Op Fri, 15 Feb 2008 09:47:38 -0800 (PST) schreef Amir:
How in the world do we know that you (or David, or even myself) are mature professionals?
Coos
C
Chris H
In message , Amir writes
Actually I think it is related... If you don't know the format and protocol for asking questions you (u?) won't get the answers u/U/you need.
It is very much on topic advice. Some of us, such as myself, Ulf, David Lewin have been on here for over a decade and we do have a lot of banter between.... friends, those with different opinions and the insanely misguided who don't joyfully agree with everything I say..... :-)
That is an incorrect assumption as you will find out in time. Many are immature students. Some are very mature hobby people (great age but little experience in some cases) and some you wonder how they ever got a job in the industry in the first place. But enough about David, Lewin and Ulf... :-)
There are some professionals on here as well .One of whom you have just had a go at! Also some hobby people with more knowledge than some of the professionals in fact all sorts congregate on there.
The whole world. The Internet is global.
It was directly related advice. As was the advice to use as far as possible, correct English. "You" has three letters not one.
You have been here a few weeks and are now telling the professionals who have been on here a decade how to behave? I would think again before you ask any more questions of the group.
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills Staffs England /\/\/\/\/
/\/\/ chris@phaedsys.org www.phaedsys.org \/\/\
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
C
Chris H
In message , Coos Haak writes
My analyst said I can be what ever I want to be so there !!!!! Today I am a professional and tomorrow I am going to be a Lumberjack..... Chop down trees, work all day and sleep all night......
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills Staffs England /\/\/\/\/
/\/\/ chris@phaedsys.org www.phaedsys.org \/\/\
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
C
Chris H
So why not use an 8051 core that has linear memory out to 128K rather than code banking? Which core is it? There are many.
BTW you have not said what sort of banking strategy you are doing.
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills Staffs England /\/\/\/\/
/\/\/ chris@phaedsys.org www.phaedsys.org \/\/\
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
C
Chris H
I think it refers to the fact that both the 8051 and ARM have many many versions from many many silicon vendors, soft cores etc
Ironically I think Intel is one of the few silicon companies not to do an 8051 and AFAIK I don't think anyone actually uses the original Intel
8051 core any more.
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills Staffs England /\/\/\/\/
/\/\/ chris@phaedsys.org www.phaedsys.org \/\/\
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
C
Chris H
I thought NXP had some 256K devices and, Dallas/Maxim, NXP and Analouge had parts that will address out to a couple of MB?
Though I have never seen the point of adding so much memory to a 51
However I thought they were mainly in the specialist market?
I think that some one somewhere worked out that 30% of all MCU out there are an 8051 family derivative. Now that was about 4 years ago. So it might have fallen to 1on 5 MCU by now :-)
Nothing else comes close. However I expect ARM cores will one day.
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills Staffs England /\/\/\/\/
/\/\/ chris@phaedsys.org www.phaedsys.org \/\/\
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
C
Chris H
We know this. However I assume ing you are using the 51 core because it is cheap. However the bank switching may not be in terms of setup and programming time, . You may want to see what other cores the ASIC/FPGA vendor has. I assume you mean an ASIC or FPGA when you say SOC?
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills Staffs England /\/\/\/\/
/\/\/ chris@phaedsys.org www.phaedsys.org \/\/\
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
C
Chris H
What sort of banking set up do you have? Is there a common bank or four banks each with a common in it?
Is there a link to your cc2430 device (manufacturer and part number)
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills Staffs England /\/\/\/\/
/\/\/ chris@phaedsys.org www.phaedsys.org \/\/\
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
A
Amir
s
4 banks of 32K. One common (the lowest 32K of the 128K flash). Here is the link:
formatting link
C
Chris H
You have a common and THREE banks.
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills Staffs England /\/\/\/\/
/\/\/ chris@phaedsys.org www.phaedsys.org \/\/\
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
A
Amir
...
was
=A0If
lso
our
Yes.
C
CBFalconer
... snip. This had nothing to do with your answer ...
____________ this is a snippable sig. _____________
__________ to the end of the message, which is here _________
Please be sure to snip quoted material that does not bear on your answer. There are some indications above. This is standard Usenet procedure.
[mail]: Chuck F (cbfalconer at maineline dot net)
[page]:
Try the download section.
J
Jim Granville
You are correct - there is the Maxim 390 Core that will address 24 bits, and the Philips MX core that will address 23 bits(IIRC), but I was meaning to refer to the Single Chip uC versions. There, 128K is reasonably common, but above that, single chip offering thin out.
That was true 18 months ago, but now they are after the 'merchant' & Low Pin Count markets as well.
I've updated our overview
formatting link
Items of interest there are turbo cores, and peripherals from :
There are bound to be others I've missed in the far-east as well.
All that shows a lot of R&D effort.
-jg
D
David Brown
Ah, so we should all directly answer *your* questions on this thread, because only such answers are of benefit to the community.
I'm not sure you understand how a Usenet group like this one actually works. Everyone posting here does so voluntarily, and they post based on what interests them. It's mostly on-topic for the group, but don't expect threads to be strictly topical - we are not here to serve *you*, or any other poster. That's one of the great things about this group - people have turned a very specific question that is only relevant or interesting to a few people into a wider discussion of more "benefit to the community" than just knowing about banking on the 8051 with a particular compiler.
It could well be that you just do not understand this sub-thread about postings, newsgroups and community - or that you believe you are a special case and your own questions are more important than other discussions. But this thread is open to all - sometimes young or inexperienced posters really do learn from what others write, and *that* is beneficial to the community.
And now that you've learned to spell "you", today's lesson is the apostrophe. Try writing "don't" a few times to get the hang of it.
mvh.,
David
C
Chris H
In message , CBFalconer writes
So is having 2 sigs and more than 4 lines. So when you start sticking to the rules then and only then should you have a go at others . You have been told about this many times.
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills Staffs England /\/\/\/\/
/\/\/ chris@phaedsys.org www.phaedsys.org \/\/\
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
A
Amir
OK all! Thank you for all. Special thanks to fellows like George and Anthon who only discussed the real issue. Also thank you all others like David who simply made this thread exponentially growing with useless, unrelated, time-consuming comments. I am calling this threat off....
C
Chris H
IAR have just released a new version of their 8051 compiler with..... more support for banking with improved set up and better simulation.
Right on cue I should download the new version.
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\ Chris Hills Staffs England /\/\/\/\/
/\/\/ chris@phaedsys.org www.phaedsys.org \/\/\
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
Join the Discussion
Have something to add? Share your thoughts — no account required.
Didn't find your answer?
Ask the community — no account required
Report Content
You are reporting this content to the moderators. They will look at it
ASAP.