Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > sci.electronics.design > #382631
| From | Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> |
|---|---|
| Newsgroups | sci.electronics.design |
| Subject | Re: Microchip "Curiosity" 8 bit demo/development board - $20 |
| Date | 2015-10-25 09:19 +0000 |
| Organization | Datemas.de http://www.news.datemas.de |
| Message-ID | <n0i6qm$g78$1@news.datemas.de> (permalink) |
| References | (2 earlier) <n0eu28$ur8$1@dont-email.me> <n0fclv$9fd$2@news.datemas.de> <y0QWx.104217$rR6.102147@fx23.iad> <n0gl4a$1r8$1@news.datemas.de> <tQUWx.180039$iQ4.92721@fx16.iad> |
On a sunny day (Sat, 24 Oct 2015 19:50:17 -0400 (EDT)) it happened bitrex <bitrex@de.lete.earthlink.net> wrote in <tQUWx.180039$iQ4.92721@fx16.iad>: >>>I agree that C++ isn't a >>>particularly pleasant language, >> >> Na it is a disability, like dyslexia. > >I don't pay much attention to what Bjarne Stroupsoup or whatever > his name is says about the language. It's like - imagine you > start with a clean slate with C, and you could do whatever you > want...and what you end up with is C++. :( Yes, that idea came up with me too. Especially when you implement some structures, I like linked lists, OTOH I think Mr ..soup wanted or at least had the subconscious intention to make things easier for the programmer by leaving out simple things like defined variable sizes, and he thought printf() formatting was too difficult too. Maybe people write a new language because they do not bother to master the current ones, so in that way create a monster. People are then encouraged to use the monster 'its objective you think objective, play with Lego whatever' no, not putting it right, got really pissed having to adjust a large amounts of clocks this morning (winter time). Also a crime against humanity, solution for a problem that does not exist that makes life more complicated for everybody, same as plus plus. >> The layers of abstraction you mention in asm and C are the same, >> once is called subroutine, the other function. >> How you pass arguments depends, but is easily specified in both languages. >> The shit hits the fan (so to speak) in that plus plus language with operator overloading, >> usually enhanced in small by a zillion defines that are not needed (in C also). >> A while back we were looking here at that driver C code for that pressure sensor, should be still on google, >> few month back. >> Makes you wonder if sanity is rare. >> >> Maybe I come in a bit harsh, but really, once I learned welding, the teacher would throw the still half molten red hot object >> at you if you did not do it right.. >> Got peoples attention. >> >> The argument that C++ allows larger projects (than C) because of structure or whatever is disproved by the Linux kernel >> project, >> one of the greatest things of all times as people working together in software is concerned. >> Linus specifically decided 'no C++' in the kernel, probably why it is still alive. >> Charging ever more for IT that does not work is however the business model of these days. >> As to Linux I had a little discussion in an other group that claimed it was insignificant in the world (as compared to that >> Apple thing), >> I just counted where in my _living room_ was Linux, and actually forgot some. >> 1 Samsung TV >> 1 Humax cable modem >> 1 LG autonomous vacuum cleaner >> 2 Linksys wireless access points >> 1 clock >> 2 laptops >> 2 PCs >> 2 raspberries. > >I bought this drum machine the other day second hand that runs > some Linux variant. Unfortunately, it seems to have some > bugs/crashing issues from time to time. I wonder how hard it > would be to get root access to it and see what's going on? I'm > guessing there should be a serial header or JTAG on the board > somewhere? Some weeks ago I bought this digital video recorder: http://www.ebay.com/itm/111755197146 it runs Linux too (an other Linux box in my living room I forgot to mention). Managed to hack it, telnet into it, found the password with google: user root, password xc3511. Has real time clock and battery backup too, recording from it via the LAN, did not bother putting a harddisk in. It seems to run some Nokia soft called Sofia?? (IIRC) for the video processing, that is available on the web too (and I see several frame buffer devices). In telnet: ~ # telnet 192.168.178.80 Trying 192.168.178.80... Connected to 192.168.178.80. Escape character is '^]'. LocalHost login: root Password: [root@LocalHost /]$ ls /bin arping chown false login netinit reset tar ash cp free ls netstat rm time awk dmesg himm mkdir passwd rmdir timecheck busybox dvrHelper kill mknod ping sed top cat echo killall mount ps sh umount chmod env ln mv pwd sleep [root@LocalHost /]$ dmesg Linux version 3.0.8 (zhaoqiting@node02.localdomain) (gcc version 4.4.1 (Hisilicon_v100(gcc4.4-290+uclibc_0.9.32.1+eabi+linuxpthread)) ) #6 Wed Jul 17 11:02:35 CST 2013 CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c53c7f CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache Machine: hi3520d So, recent Linux, I did a dump with 'snort' of the traffic, rewrote ffplay from ffmpeg to dump the rtsp stream (see postings in ffmpeg forum), and now it runs 24 / 7, have written some scripts to start and stop cams. Runs busybox as many of these things do. One could probably (yes there is some serial port header on the board too I think) use it for other things.... by simply adding some code. The raspi gcc arm compiler should be able to make executable code for it (have not tried). Has nice time and date on screen 4 cameras, h264 encode in HD, 4 audio tracks, mouse, remote, HDMI out. I have hacked my Linksys wireless access point and added SDcard support to it and it runs a mirror (but old version) of my website. http://panteltje.com/panteltje/wap54g/index.html so yes, and that used JTAG too, maybe that soft can help you, but you need to know the chips to use the JTAG of course. When I opened this DVR I took pictures with macro lens of board and chips so that when I ever want to have a go I have a start. OTOH 35$ buys you a Raspberry with Debian and all the software and I/O you can want and full documentation of processor and peripherals, so as time is money or something it would only be for the fun of doing it to hack such a box. >> Bit of topic actually.. >> The number of micros is stunning, from mouse to keyboard to camera to monitors to radios, many no doubt programmed in asm, >> some by me. >> >> AVR? is that also in Arduino? >> I had some email exchange about that a while back with somebody who had a serial com issue, >> recommended a raspberry, but he managed to fix it, something with timing I think. >> made me severely doubt AVR hardware... >> > >All an Arduino is is an AVR microcontroller on a little dev > board, with a custom bootloader and development environment where > some 'annoying' tasks for a beginner, like reading from the ADCs > and writing to the serial port, etc. have been abstracted away > into an API. Ah, yes I see, I went through some Arduino C++ code and translated it back to C to drive some MPU6050 accelerometer chip IIRC.
Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Microchip "Curiosity" 8 bit demo/development board - $20 "P E Schoen" <paul@pstech-inc.com> - 2015-10-23 19:53 -0400
Re:Microchip "Curiosity" 8 bit demo/development board - $20 bitrex <bitrex@de.lete.earthlink.net> - 2015-10-23 21:13 -0400
Re: Re:Microchip "Curiosity" 8 bit demo/development board - $20 "P E Schoen" <paul@pstech-inc.com> - 2015-10-23 23:33 -0400
Re: Re:Microchip "Curiosity" 8 bit demo/development board - $20 Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2015-10-24 07:40 +0000
Re: Microchip "Curiosity" 8 bit demo/development board - $20 "P E Schoen" <paul@pstech-inc.com> - 2015-10-24 04:28 -0400
Re: Microchip "Curiosity" 8 bit demo/development board - $20 Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2015-10-24 18:08 +0000
Re: Microchip "Curiosity" 8 bit demo/development board - $20 bitrex <bitrex@de.lete.earthlink.net> - 2015-10-24 14:23 -0400
Re: Microchip "Curiosity" 8 bit demo/development board - $20 Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2015-10-24 19:11 +0000
Re: Microchip "Curiosity" 8 bit demo/development board - $20 bitrex <bitrex@de.lete.earthlink.net> - 2015-10-24 19:50 -0400
Re: Microchip "Curiosity" 8 bit demo/development board - $20 Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2015-10-25 09:19 +0000
Re: Microchip "Curiosity" 8 bit demo/development board - $20 Jasen Betts <jasen@xnet.co.nz> - 2015-10-24 06:58 +0000
Re: Microchip "Curiosity" 8 bit demo/development board - $20 Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2015-10-24 08:18 +0000
csiph-web