*** tpb has joined #tomu | 00:00 | |
*** xkapastel has joined #tomu | 00:11 | |
*** m_w has quit IRC | 00:18 | |
xobs | m_w: for the actual jig itself, usually I just have the factory make one. I've seen them go for anywhere from US$50-150. At that price, it's just not worth it to me to diy it. | 00:27 |
---|---|---|
*** Kitlith_ has quit IRC | 00:40 | |
*** Kitlith_ has joined #tomu | 00:43 | |
xobs | I just published v1.2.7 of the Fomu rpi image: https://github.com/im-tomu/fomu-pi-gen/releases/tag/v1.2.7-fomu | 02:20 |
tpb | Title: Release HeAP Placer & Fomu-Flash Fixes · im-tomu/fomu-pi-gen · GitHub (at github.com) | 02:20 |
*** futarisIRCcloud has joined #tomu | 02:27 | |
*** xkapastel has quit IRC | 02:52 | |
*** emeb has quit IRC | 03:58 | |
*** futarisIRCcloud has quit IRC | 05:07 | |
*** rohitksingh_work has joined #tomu | 05:15 | |
*** futarisIRCcloud has joined #tomu | 05:26 | |
futarisIRCcloud | http://shadetail.com/blog/vga-video-out-on-bluepill/ | 05:26 |
futarisIRCcloud | https://github.com/mubes/vidout | 05:26 |
tpb | Title: VGA Video out on BluePill Embedded Rambling (at shadetail.com) | 05:26 |
tpb | Title: GitHub - mubes/vidout: VGA Video output on CORTEX-M3. Vidout provides 50 x 18 text output on a STM32F103 CPU (e.g. BluePill) using only 24% of the CPU, 1.2K of RAM and 7K of Flash. Its intended as a debug aid and should be trivial to port to other CPUs. You can see it in action at https://youtu.be/5UFpp3ao460 (at github.com) | 05:26 |
*** rohitksingh_work has quit IRC | 06:14 | |
xobs | I'll never get tired of the magic that is bit-banging video signals. | 08:03 |
xobs | Anyway, I just pushed a change to Foboot. The latest image now includes the ability to boot a RISC-V program instead of a bitstream. | 08:05 |
xobs | cc: AmosSam | 08:06 |
xobs | I have an example program in the "examples" directory. You'd use it like you'd flash a bitstream. That is, compile it (with "make"), then load it with "dfu-util -D example.bin", then boot it with "dfu-util -e". | 08:07 |
AmosSam | Great! | 08:08 |
AmosSam | I'll test it afternoon (in about 6 hours is that) and report back | 08:09 |
*** futarisIRCcloud has quit IRC | 08:17 | |
mifune | nice, i'll also have a go at it this evening | 10:14 |
xobs | Looking forward to feedback! | 10:14 |
xobs | A cdc serial port should also be possible. | 10:15 |
xobs | And then I should look into python. | 10:15 |
*** awe00 has joined #tomu | 11:50 | |
*** AmosSam has left #tomu | 11:56 | |
*** AmosSam has joined #tomu | 11:57 | |
AmosSam | Why python?? | 12:14 |
*** nrossi has quit IRC | 12:18 | |
*** ptotter[m] has quit IRC | 12:19 | |
*** xobs has quit IRC | 12:19 | |
*** shalzz has quit IRC | 12:19 | |
*** rohitksingh_work has joined #tomu | 12:45 | |
*** rohitksingh_work has quit IRC | 13:39 | |
*** AmosSam has left #tomu | 14:12 | |
*** AmosSam has joined #tomu | 14:13 | |
*** AmosSam has left #tomu | 14:23 | |
*** xkapastel has joined #tomu | 14:24 | |
*** AmosSam has joined #tomu | 14:27 | |
*** AmosSam has left #tomu | 14:33 | |
*** rohitksingh has joined #tomu | 14:36 | |
*** AmosSam has joined #tomu | 14:47 | |
AmosSam | xobs: flashed new foboot with rpi, connected fomu to my laptop, and flashed example.bin (from riscv-blink) and it works! | 15:37 |
*** rohitksingh has quit IRC | 15:39 | |
*** emeb has joined #tomu | 15:43 | |
*** awe00 has quit IRC | 16:18 | |
AmosSam | Do I miss something, or led blink cannot be disabled with current code? What ever I put for led off time, it always blinks, only difference is how slow. | 16:31 |
tnt | you need to disable the breathing mode as well if you want it on. | 16:56 |
*** xkapastel has quit IRC | 17:03 | |
*** xkapastel has joined #tomu | 17:27 | |
*** rohitksingh has joined #tomu | 17:29 | |
AmosSam | So, I can't have breathing without blinking? | 17:34 |
*** rohitksingh has quit IRC | 17:42 | |
*** awe00 has joined #tomu | 17:44 | |
tnt | well, breathing is blinking with a progressive fade, so I | 17:45 |
tnt | 'm not sure what you mean ? | 17:46 |
tnt | if you set ledoff to zero, it should fade out then immediately start fading in again with no delay. | 17:47 |
*** awe00 has quit IRC | 17:54 | |
*** rohitksingh has joined #tomu | 18:02 | |
*** awe00 has joined #tomu | 18:09 | |
mifune | xobs: got it to work as well | 18:15 |
AmosSam | tnt: it's not delay between breathing, it's blinking over breathing, if that makes sense... so, for ex., red is fading in, and untill it reaches max brightness, it'll blink 3 or 4 times... and it's same for all colors... | 18:47 |
tnt | AmosSam: weird, that's not supposed to do that | 18:52 |
tnt | https://i.imgur.com/SV3Nfye.png | 18:53 |
AmosSam | tnt: i'll try to record video of it and upload it somewhere... | 18:53 |
AmosSam | I figured from code that it should work somehow like that... | 18:54 |
AmosSam | tnt: https://youtu.be/NaEh2I_Fq5I | 19:12 |
tnt | AmosSam: try disableing the color_wheel stuff and set a fixed color | 19:15 |
AmosSam | tnt: I did, and the color stays same and same intensity, but still blinks with same speed... | 19:16 |
tnt | but that blinking is the breathing ? | 19:17 |
tnt | on the video it's hard to tell with the color changing. | 19:17 |
AmosSam | Wait a sec | 19:17 |
AmosSam | tnt: https://youtu.be/gBruxDG7iPQ | 19:22 |
tnt | yeah, so that looks like the breathing, it's just ... fast. | 19:24 |
AmosSam | Yea, now when I set 0,0,255(pure red) it looks like breathing, fast... | 19:26 |
tnt | That's because the breathing mode is configured to 'FIXED'. so the ramp rate is fixed and not a function of the color value. So to reach 50, it wouldn't take the 128 ms configured, but 128 * 50 / 256 = 25 ms and then stay at intensity 50 for the remaining 100 ms of the ramp duration. | 19:28 |
tnt | use BREATHE_MODE_MODULATE instead. and increase the ramp time. | 19:28 |
*** rohitksingh has quit IRC | 19:32 | |
*** xkapastel has quit IRC | 19:33 | |
AmosSam | Ok, when I comment all code except first line (rgb_ctrl_write) in rgb_init im rgb.c file, I still get breathing... And what ever other changes I do to rgb_init function, I only get different timings on breathe, and can't get solid on led... | 19:39 |
tnt | AmosSam: well the bootloader sets up the breathing ... so not writing is not enough, you need to actually set it to not breathe. | 19:40 |
tnt | set LEDDBCRR=0 LEDDBCFR=0 LEDDOFR=0 and LEDDONR=0xff | 19:41 |
AmosSam | I was just making those changes! B-) | 19:42 |
AmosSam | Yep, that works... thx | 19:44 |
AmosSam | I figured it out... I was wrong because I thought that on/off time was separate from breathing... and thats why I couldn't understand code... | 20:00 |
*** rohitksingh has joined #tomu | 20:21 | |
*** rohitksingh has quit IRC | 20:42 | |
*** xkapastel has joined #tomu | 21:33 | |
*** awe00 has quit IRC | 21:46 | |
*** futarisIRCcloud has joined #tomu | 21:46 | |
*** AmosSam has left #tomu | 21:57 | |
*** AmosSam has joined #tomu | 21:57 | |
futarisIRCcloud | xobs: Looks good. I'll try and test foboot and a RISC-V program this weekend. Has anyone started on CDC serial yet? | 22:18 |
*** im-tomu has quit IRC | 22:23 | |
*** im-tomu has joined #tomu | 22:24 | |
*** emeb has quit IRC | 22:25 | |
*** cdmatter has joined #tomu | 22:27 | |
*** im-tomu has left #tomu | 22:34 | |
*** im-tomu has joined #tomu | 22:35 | |
*** pollo has quit IRC | 23:29 | |
*** pollo has joined #tomu | 23:35 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!