??? 09/26/09 08:53 Read: times Msg Score: +1 +1 Good Answer/Helpful |
#169153 - Disagree (to a point) Responding to: ???'s previous message |
Richard Erlacher said:
I'd not bet on the notion that 'C' fixes inability to do the job, Per. The advantage of doing it in 'C' (or similar) is that it lets you concentrate on the higher level of "what" you need to do, without getting bogged-down in the detail of "how" to send each individual character, etc... It's a bit like doing your high-level design in pseudo-code - except that you're actually using a real programming language, and you can actually run it. And, as Per says, the vast majority of it is entirely platform-independent: it's just stuff like building strings, sending strings, receiving strings, picking-out tokens from strings, etc - which can all be very easily written entirely generically in 'C' (or whatever) and tried and tested on any platform. It's only in the detail of actually transmitting & receiving the characters that it needs to be platform-specific at all. So, on the contrary, I think I'd say that if you can't even manage to do it at the "high level" in 'C' (or whatever), then you'll have no hope if getting down to doing it in detail in assembler! Again, only thing the modem cares about is that you send it valid AT commands; it neither knows nor cares what programming language - if any - was used! So, before you can do any programming in any language, you need to understand what AT Commands you need to send, and what responses to expect - and that is all entirely independent of any programming language or computing platform. I submit that, if you don't know your MCU's assembly language, then you don't know the MCU you're using. Certainly when it comes to small systems like the 8051. |
Topic | Author | Date |
Interface between GSM modem & 8051/52 | 01/01/70 00:00 | |
Use the Search button... | 01/01/70 00:00 | |
How about table-lookup? | 01/01/70 00:00 | |
Cross-posting | 01/01/70 00:00 | |
That borders on nonsense! | 01/01/70 00:00 | |
Disagree (to a point) | 01/01/70 00:00 | |
'C' Vs 'Asm' "Please ! Not Again!!!" | 01/01/70 00:00 | |
that will happen at every opportunity Richard sees | 01/01/70 00:00 | |
I think Richard's point... | 01/01/70 00:00 | |
It's not the language ... it's the approach | 01/01/70 00:00 | |
The approach | 01/01/70 00:00 | |
That's bottom-up, not top-down.![]() | 01/01/70 00:00 | |
Investigation of "prior art" is what will solve the problem | 01/01/70 00:00 | |
how .asm code will work to intrface with AT commands | 01/01/70 00:00 |