Author |
Message |
Topic: Ariadne TCP/IP bootloader |
Netzman
Replies: 2
Views: 692
|
Forum: AVR Posted: Fri Dec 08, 2023 7:00 pm Subject: Ariadne TCP/IP bootloader |
The validation ( 0: 0C 94 FA 00 JMP 0x1F4 ; 0x1F4
4: 18 95 RETI
6: 00 00 NOP
8: 18 95 RETI
A: 00 00 NOP
... |
Topic: Proportional Fonts for GLCDs + TrueType Converter |
Netzman
Replies: 44
Views: 51478
|
Forum: Share your working BASCOM-AVR code here Posted: Tue Aug 30, 2022 11:06 am Subject: Proportional Fonts for GLCDs + TrueType Converter |
it's working fine for me here, could you try again? |
Topic: UPDI |
Netzman
Replies: 42
Views: 14580
|
Forum: BASCOM-AVR Posted: Mon May 02, 2022 8:43 pm Subject: UPDI |
imho a simple current protection should do the job:
+12V pulse
------------------------------------+
|
|
TX +-----+ ... |
Topic: UPDI |
Netzman
Replies: 42
Views: 14580
|
Forum: BASCOM-AVR Posted: Sat Apr 30, 2022 10:26 pm Subject: UPDI |
something like this (discrete boost converter)?
https://www.eleccircuit.com/wp-content/uploads/2017/07/boost-converter-5v-to-12v.jpg |
Topic: Proportional Fonts for GLCDs + TrueType Converter |
Netzman
Replies: 44
Views: 51478
|
Forum: Share your working BASCOM-AVR code here Posted: Thu Jan 06, 2022 6:40 pm Subject: Proportional Fonts for GLCDs + TrueType Converter |
Since the font routines don't handle any background at all, it is up to you to define that (by drawing a rectangle with your background color before writing the text over it, draw an image etc), which ... |
Topic: Proportional Fonts for GLCDs + TrueType Converter |
Netzman
Replies: 44
Views: 51478
|
Forum: Share your working BASCOM-AVR code here Posted: Thu Jan 06, 2022 12:54 am Subject: Proportional Fonts for GLCDs + TrueType Converter |
Good to hear you've recovered.
There are several possibilities, you could draw a rectangle using the background color over the text (the function Lcd_tt_textwidth(byval Text As String) As Word return ... |
Topic: Proportional Fonts for GLCDs + TrueType Converter |
Netzman
Replies: 44
Views: 51478
|
Forum: Share your working BASCOM-AVR code here Posted: Sun Jun 06, 2021 12:28 am Subject: Proportional Fonts for GLCDs + TrueType Converter |
In the Pset-Routine resp. the _convert_color1 routine called from there the memory positions in the softstack Y+5 and Y+6 get trashed, which contains the pointers to the frame space for local variable ... |
Topic: Proportional Fonts for GLCDs + TrueType Converter |
Netzman
Replies: 44
Views: 51478
|
Forum: Share your working BASCOM-AVR code here Posted: Wed Jun 02, 2021 9:32 pm Subject: Proportional Fonts for GLCDs + TrueType Converter |
I can't reproduce this behaviour, could you upload a complete sample (incl. fonts) which shows that?
Thank you for the explanation, Mark! I resorted to use _huge, which is 0 when the program size i ... |
Topic: Proportional Fonts for GLCDs + TrueType Converter |
Netzman
Replies: 44
Views: 51478
|
Forum: Share your working BASCOM-AVR code here Posted: Mon May 31, 2021 9:17 pm Subject: Proportional Fonts for GLCDs + TrueType Converter |
Hello,
the RAMPZ register shouldn't be there in the first place since it is a device with 64K of memory. In fact, in the datasheet, the memory address 0x3B (=RAMPZ) is marked as reserved and the er ... |
Topic: Proportional Fonts for GLCDs + TrueType Converter |
Netzman
Replies: 44
Views: 51478
|
Forum: Share your working BASCOM-AVR code here Posted: Wed May 26, 2021 5:19 pm Subject: Proportional Fonts for GLCDs + TrueType Converter |
Hello,
you need to use
Config Submode = New
$include "ProportionalFont.inc"
or declare the subs before including:
Declare Sub Lcd_tt_loadfont()
Declare Sub Lcd_tt_text(by ... |
Topic: Include version info/date into compilation output |
Netzman
Replies: 3
Views: 2625
|
Forum: Share your working BASCOM-AVR code here Posted: Wed Feb 24, 2021 8:18 am Subject: Include version info/date into compilation output |
$regfile = "m328pdef.dat"
$crystal = 16000000
$hwstack = 48
$swstack = 32
$framesize = 64
Const Firmware_version = &HABBA
On Aci Firmware_version
!nop
!nop
!nop
!nop
!nop
... |
Topic: Include version info/date into compilation output |
Netzman
Replies: 3
Views: 2625
|
Forum: Share your working BASCOM-AVR code here Posted: Tue Feb 23, 2021 2:23 pm Subject: Include version info/date into compilation output |
Sometimes, one wants to include the firmware version, build dates etc at a fixed position into the binary output, to be used by bootloaders for example.
In Bascom, there is no equivalent to the assem ... |
Topic: Clock frequency |
Netzman
Replies: 25
Views: 2283
|
Forum: BASCOM-AVR Posted: Fri Aug 14, 2020 11:52 am Subject: Clock frequency |
The format is stated in the datasheet p.62:
"The Error is stored as a compressed Q1.10 fixed point 8 bit value, in order not to lose resolution, wherethe MSB is the sign bit and the 7 LSBs the lower ... |
Topic: Problem Including Bootloader Code in Application Program |
Netzman
Replies: 27
Views: 5667
|
Forum: BASCOM-AVR Posted: Fri Jun 19, 2020 4:29 pm Subject: Problem Including Bootloader Code in Application Program |
MSB/LSB of the data words are swapped, check your settings in Options->Compiler->Output.
Using the .hex files to create a combined image is a bit easier, since the addresses are also stored i ... |
Topic: Proportional Fonts for GLCDs + TrueType Converter |
Netzman
Replies: 44
Views: 51478
|
Forum: Share your working BASCOM-AVR code here Posted: Mon May 04, 2020 5:59 pm Subject: Proportional Fonts for GLCDs + TrueType Converter |
small update:
we are also in contact per mail, we ruled out a 64K boundary crossing (and I fixed this bug already) and trashed registers by the pixel draw call.
I could not reproduce the error on my ... |
|