This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

comments on flash2.c testcase


Hi,

the testprogram flash2.c in packages/devs/flash/synth/current/tests/flash2.c
reports false fails when there is no x8-bit flash.
This happens because some (most/all?) flash chips with a 16 bit interface
(32bit are rare) do only support 16bit writes.
The flash2.c program acts on bytes and might "hit" (un)fortunately an odd 
flash address. Since the driver is unable to write only a single byte
it has to fill the other byte with some stuff.
This means that the program might "detects" errors at the boundaries of 
the written testdata.

Greetings,
 Martin L.

PS: Yes - I know this test is for the synth target - but it is also usefull
to test real devices.

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]