Hi guys,

Almost got my USB serial working... I had to adjust USB base address as
previously mentioned. But, and that's my worry, I also had to switch back to
jalv24n. Last jalv24o beta (1st Feb 2011) doesn't seem to handle properly
print_string(serial_hw_data,str[]), producing garbage chars. I wonder if
there's a trouble with array (wasn't it previously reported ?), and since
USB descriptors use them extensively, it was stuck... That could be an
explanation though I couldn't dig this more.

During my USB "travel", I mentioned several issue regarding debug statement
(see also issue 153). With the help of newfound from Microchip forums, I
pointed another issue about USB base address (Rob, maybe we can work on this
?). I'll try to address both of these.

Stick to jalv24n...

Cheers,
Seb

2011/4/1 Oliver Seitz <[email protected]>

>
> > I don't understand how the address POSTINC1 gets set, or
> > how it knows
> > where to read memory.
>
> It reads from the adress FSR1 points to, but in rcontrast to reading INDF1,
> FSR1 is incremented after the read. I had suggested not to use indirect
> adressing from a JAL program at all. If INDF or POSTINC or so is necessary,
> some lines of assembler should be used. This is because the compiler makes
> heavy use of indirect adressing, and you can never know if the pointer
> registers still contain the values you have loaded there.
>
> Right now, the compiler only uses one INDF register. So using a second
> register on chips that have more than one is safe at the moment, but Kyle
> has already said that he might make use of more than one INDF register in
> the future.
>
> Greets,
> Kiste
>
> --
> You received this message because you are subscribed to the Google Groups
> "jallib" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/jallib?hl=en.
>
>


-- 
Sébastien Lelong
http://www.sirloon.net
http://sirbot.org

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.

Reply via email to