... Hash: SHA1 ... Does using int32_t here change things? - -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au ...
... Actually, it looks like a similar problem to what someone else had recently. The compiler was doing 16 bit math on an initializer for a 32 bit number,...
Sorry about the incorrect subject before. The build process DOES care about the linker option! Make uses m6811-elf-as for n.s to n.o and m6811-elf-gcc as a...
Thomas D. Dean
tomdean@...
Sep 1, 2004 12:01 pm
5122
Thomas ... Yes and no. gcc -c => compile a file from .c|.S|.s|.cpp to .o ... This is what I do not understand, make starts with the first target it finds. You...
Whitis, In 16 bit twos compliment mathematics there is one more negative number than positive numbers. The twos compliment of -65535 has no positive counter...
Remko,(or was it Mark) I finally got the file stuff running. The changes need more testing. I had trouble with multiple increments of automatic pointers in a...
I was looking for a way to avoid putting the LDFLAGS statement in the top level Makefile. After thinking about this, it appears not possible. The selection of...
Thomas D. Dean
tomdean@...
Sep 1, 2004 5:06 pm
5128
Tomdean, I was talking about something like this: Aaa is c bbb is asm aaa.0: aaa.c $(CSRCS) $(CC) $(CFLAGS) $< -c -o $@ bbb.0: bbb.asm $(CSRCS) $(AS)...
Ton, thanks for the reply, Sorry, I was not clear in my initial post. In an assembly application, _start is in an assembly file and I do not need the...
Thomas D. Dean
tomdean@...
Sep 1, 2004 5:30 pm
5130
... Hi Mark, Thanks for this answer, it is very usefuly (and comprehensive). The 12V battery I was referring to is 1.2A*h SLA battery from a hobby shop, not a...
Hi Tom, I've just started trying the FlashEraseSector function. With all good comes a bad I guess. The good news is that even not fully understanding how it...
Remko, That usually happens when PPAGE and FCNFG are mot set right. See: PNT_FILE_HDR GetFileAddr(UINT logical) This crashes the hcs12 because you either...
I'm surprised a C programmer would not know the asm. That would be very valuable to you. May I ask what part is dificult, and I'll explain it? Just look at a...
John, I don't know what you mean by what part is difficult? I wrote my first program in 1963. I haven't been out of work since. I have been using Motorola...
Hi Tom, I'm starting to get how this works. I've managed erasing my first sector and programming a word in it without crashing! The idea behind all of my ...
Tom, Thanks for the conversion. ... _________________________________________________________________ Express yourself instantly with MSN Messenger! Download...
Remko, You can have the WriteFlWord(), EraseFlSector() in EEprom or copy them to RAM to run. I have done both at times. This way you can do everything that...
Hi Tom, from eeprom will be fine for now but the copy to ram to run seems a more pretty sollution. I've used the __attribute__((section(".eeprom"))) to locate...
Remko, There are routines to write to EEprom in the functions in that package. I use it for my directory and free sector list. I am using a P&E BDM. They have...
Hey I found one used in the ColdFire. Just put the routines in the blocks labeled RAM and call the normal ones that copy them. The coldfire isn't the same, it...
Folks, I am hearing rumbles about TCP/IP communications on the HCS12. I thought I saw some traffic on here about the same. How is it going, what does it take?...
Jefferson, I am new in Microcontroller and in embedded development, I am still in the learning process. I've never use asm though I understand some part of...
... Hash: SHA1 ... I'd be inclined to use a 7805 or similar to get regulated power. Running one of 12V will generate a fair amount of heat though. - -- Daniel...
Well, I had been planning to run a fairly comprehensive arithmetic test to check the code generator at some point but this gave me some incentive to
do it...
... I guess the resulting file have different names, don't they ? So why can't you do just: all_assmbly.elf : $(ASM_OBJS) $(CC) $(LDFLAGS_FOR_ASM) $(ASM_OBJS)...
... The bypass caps on other circuitry and clamp diodes won't protect the A/D pin if you get spikes on the battery voltage you are measuring. The flyback...
If I just use the LDFLAGS in assembly applications to not allow startfiles and stdlib, I can use the default rules. In a given application, I either want the...
Thomas D. Dean
tomdean@...
Sep 2, 2004 5:21 am
5148
Hi Tom, great! Many thanks for the source file. So far the EraseFlashSector works but I'm having troubles with the WriteFlashWord. The weird thing is that when...