From: Tomas V. <to...@us...> - 2015-10-23 20:10:44
|
Paul, if we had an "adapter quirk" bitfield and a driver was able to get a trustworthy information "halfword access is emulated" then I go along. But if the driver tests for a hla adapter, does it mean emulated halfword access? Or do you recommend just to use word write on any adapter? High half is marked as reserved, it should be ok (I checked just 3 manuals of at least 10). Tom On 23.10.2015 21:45, Paul Fertser wrote: > Hey Tomas, > > On Fri, Oct 23, 2015 at 09:36:04PM +0200, Tomas Vanek wrote: >> I tested to use word (32-bit) write instead of half word and it solved the >> problem. >> However this is a dirty workaround for one (not too suitable) SWD adapter and >> I'm reluctant to propose it as change of SAMD driver. > I personally wouldn't be against such a hack, especially if a > clarifying comment is added as well. It works with the current devices > and it doesn't seem likely that it might break with the newer. And if > it does, we'll learn about it in no time, and the fix would be > obvious. > |