Vito

Show:

What's happening?

  • mkfs_makevfat misaligned word/halfword writes

    My target is LPC2148 (ARM7 from Philips) I had the problem of having an unreadable card after invoking mkfs_makevfat in mkfs.c. The issue is that the following lines make misaligned halfword/word writes on buf, thus overwriting adjacent bytes (such misaligned writes are forbidden on ARM7 architecture): /* Bytes/Sector */ *((unsigned short*)(buf+11)) = 512; //this puts a 0 in...

    2006-11-11 18:40:56 UTC in Embedded Filesystems Library

  • SDO_ABORT macro

    The macro SDO_ABORT does not set data fields [1],[2] and [3], relying upon the fact that they have been set on RXCAN message reception. But, in fact, in the case that the SDO_ABORT is issued due to a timeout, those fields remain unset. So it would be recommendable that the SDO_ABORT macro sets fields [1],[2] and [3] with current OD index and subindex anyway.

    2006-11-01 15:21:32 UTC in CANopenNode

About Me

  • 2006-10-31 (3 years ago)
  • 1634680
  • vm36 (My Site)
  • Vito

Send me a message